The patch titled hostfs: set maximum filesize in superblock for proper LFS support has been added to the -mm tree. Its filename is hostfs-set-maximum-filesize-in-superblock-for-proper-lfs-support.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: hostfs: set maximum filesize in superblock for proper LFS support From: Wolfgang Illmeyer <wolfgang@xxxxxxxxxxxx> 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@xxxxxxxxxxxx> Cc: Jeff Dike <jdike@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/hostfs/hostfs_kern.c | 1 + 1 file changed, 1 insertion(+) diff -puN fs/hostfs/hostfs_kern.c~hostfs-set-maximum-filesize-in-superblock-for-proper-lfs-support fs/hostfs/hostfs_kern.c --- a/fs/hostfs/hostfs_kern.c~hostfs-set-maximum-filesize-in-superblock-for-proper-lfs-support +++ a/fs/hostfs/hostfs_kern.c @@ -972,6 +972,7 @@ static int hostfs_fill_sb_common(struct sb->s_blocksize_bits = 10; sb->s_magic = HOSTFS_SUPER_MAGIC; sb->s_op = &hostfs_sbops; + sb->s_maxbytes = MAX_LFS_FILESIZE; /* NULL is printed as <NULL> by sprintf: avoid that. */ if (req_root == NULL) _ Patches currently in -mm which might be from wolfgang@xxxxxxxxxxxx are hostfs-set-maximum-filesize-in-superblock-for-proper-lfs-support.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html