patch-2.4.19 linux-2.4.19/fs/ntfs/fs.c

Next file: linux-2.4.19/fs/open.c
Previous file: linux-2.4.19/fs/nls/nls_koi8-ru.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/fs/ntfs/fs.c linux-2.4.19/fs/ntfs/fs.c
@@ -1090,7 +1090,7 @@
 	/* Inform the kernel about which super operations are available. */
 	sb->s_op = &ntfs_super_operations;
 	sb->s_magic = NTFS_SUPER_MAGIC;
-	sb->s_maxbytes = ~0ULL >> 1;
+	sb->s_maxbytes = MAX_LFS_FILESIZE;
 	ntfs_debug(DEBUG_OTHER, "Reading special files\n");
 	if (ntfs_load_special_files(vol)) {
 		ntfs_error("Error loading special files\n");

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)