summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/sched.c
diff options
context:
space:
mode:
authorJ. Bruce Fields2015-09-16 23:21:27 +0200
committerTrond Myklebust2015-09-17 21:48:23 +0200
commit306a5549355966e480e0dcacdc6b9321d153e0c0 (patch)
tree2518639baf4e333c4c0f20263694e0bf0b6c0a9a /net/sunrpc/sched.c
parentSUNRPC: Fix races between socket connection and destroy code (diff)
downloadkernel-qcow2-linux-306a5549355966e480e0dcacdc6b9321d153e0c0.tar.gz
kernel-qcow2-linux-306a5549355966e480e0dcacdc6b9321d153e0c0.tar.xz
kernel-qcow2-linux-306a5549355966e480e0dcacdc6b9321d153e0c0.zip
nfs: fix v4.2 SEEK on files over 2 gigs
We're incorrectly assigning a loff_t return to an int. If SEEK_HOLE or SEEK_DATA returns an offset over 2^31 then the application will see a weird lseek() result (usually -EIO). Cc: stable@vger.kernel.org Fixes: bdcc2cd14e4e "NFSv4.2: handle NFS-specific llseek errors" Signed-off-by: J. Bruce Fields <bfields@redhat.com> Reviewed-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net/sunrpc/sched.c')
0 files changed, 0 insertions, 0 deletions