summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs2xdr.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-10-26 19:31:47 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-01-30 08:05:43 +0100
commit8a8c74bf94fcdec058062d331b3d9777910778ab (patch)
tree66dd009e6d11a1bfa15d294aa2458086f80c963f /fs/nfs/nfs2xdr.c
parentSUNRPC: Remove an unneeded implicit type cast when calling rpc_depopulate() (diff)
downloadlinux-8a8c74bf94fcdec058062d331b3d9777910778ab.tar.xz
linux-8a8c74bf94fcdec058062d331b3d9777910778ab.zip
NFS: Ensure nfs_wcc_update_inode always converts file size to loff_t
The nfs_wcc_update_inode() function omits logic to convert the type of the NFS on-the-wire value of a file's size (__u64) to the type of file size value stored in struct inode (loff_t, which is signed). Everywhere else in the NFS client I checked already correctly converts the file size type. This effects only very large files. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs2xdr.c')
0 files changed, 0 insertions, 0 deletions