]> git.hungrycats.org Git - linux/commit
[PATCH] hugetlb: initialize sb->s_maxbytes
authorWilliam Lee Irwin III <wli@holomorphy.com>
Sat, 9 Oct 2004 08:03:38 +0000 (01:03 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 9 Oct 2004 08:03:38 +0000 (01:03 -0700)
commit20867abcf815fa915df98e2109698c31655da6cf
treeeb93539197635ae76339418d24ea5624a0277a20
parentb959d48e8272523cb004120e703e5f21c26a3edb
[PATCH] hugetlb: initialize sb->s_maxbytes

hugetblfs appears not to support the creation of files larger than 2GB.
hugetlbfs_vmtruncate() checks against the s_maxbytes member of the super
block and returns EFBIG if the requested file size is too large.

Signed-off-by: Guy Cardwell <gcardwel@motorola.com>
Signed-off-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/hugetlbfs/inode.c