summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-08-18 14:11:08 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-08-18 16:31:12 -0700
commit89a4eb4b66e8f4d395e14a14d262dac4d6ca52f0 (patch)
treee8dfb8f3c70700c44a3a56f87541d45c86eec3f7 /mm
parent6b6f0b6c131321e1bc34c47b7f671b0360315402 (diff)
vfs: make get_sb_pseudo set s_maxbytes to value that can be cast to signed
get_sb_pseudo sets s_maxbytes to ~0ULL which becomes negative when cast to a signed value. Fix it to use MAX_LFS_FILESIZE which casts properly to a positive signed value. Signed-off-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Steve French <smfrench@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Robert Love <rlove@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions