]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MAX_LFS_FILESIZE should be a loff_t
authorChuck Lever <chuck.lever@oracle.com>
Mon, 24 Sep 2012 18:51:48 +0000 (14:51 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 27 Sep 2012 05:34:25 +0000 (01:34 -0400)
commit49de614c74fadc7c47132ac87c0f7b05ca4084b7
tree04246dc63002b003e67591a44c49395dcc79a70e
parent8dcdbb8dff0d96f5ac5bbfe7f3094db45dba20a2
MAX_LFS_FILESIZE should be a loff_t

fs/nfs/internal.h: In function ‘nfs_super_set_maxbytes’:
fs/nfs/internal.h:547:21: warning: comparison between signed and
    unsigned integer expressions [-Wsign-compare]

Seen with gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2).

Commit 42cb56ae made s_maxbytes a loff_t, thus the type of
MAX_LFS_FILESIZE should also be a loff_t.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/fs.h