[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>
Showing
Please register or sign in to comment