From: Chuck Lever Date: Fri, 26 Oct 2007 17:31:47 +0000 (-0400) Subject: NFS: Ensure nfs_wcc_update_inode always converts file size to loff_t X-Git-Tag: v2.6.25-rc1~1146^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a8c74bf94fcdec058062d331b3d9777910778ab;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed