hostfs: set maximum filesize in superblock for proper LFS support
authorWolfgang Illmeyer <wolfgang@illmeyer.com>
Tue, 30 Jun 2009 18:41:44 +0000 (11:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Jul 2009 01:56:03 +0000 (18:56 -0700)
commit752fa51e4c5182c3c257f1cede90577a7e213c58
tree177af78d53c984389125f80ae83b6667070b8534
parent8516a500029890a72622d245f8ed32c4e30969b7
hostfs: set maximum filesize in superblock for proper LFS support

Maximum file size for hostfs mounts defaults to 2GB, so bigger files cannot be
read/written through hostfs. This patch initializes the maximum file size to
MAX_LFS_SIZE.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=13531

Signed-off-by: Wolfgang Illmeyer <wolfgang@illmeyer.com>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hostfs/hostfs_kern.c