aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-06-19 20:43:04 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-19 20:43:04 -0400
commit31583d6acf940d2951bc8716557b06d9de5a0c4b (patch)
tree607aef385b0998f0cb7ff63b05407afed5182840 /fs/ext4/super.c
parentee37ba7a4212c7420f12e6a2ad8a3966649ede7a (diff)
parentf740f5ca056f0a4eff3abdf272a8a4ba3965d57d (diff)
Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
* 'for-linus' of git://git.kernel.dk/linux-2.6-block: Fix kernel-doc parameter name typo in blk-settings.c: block: rename CONFIG_LBD to CONFIG_LBDAF block: Fix bounce_pfn setting hd: stop defining MAJOR_NR
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 23013d303f81..8bb9e2d3e4b8 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1959,7 +1959,7 @@ static loff_t ext4_max_size(int blkbits, int has_huge_files)
1959 /* small i_blocks in vfs inode? */ 1959 /* small i_blocks in vfs inode? */
1960 if (!has_huge_files || sizeof(blkcnt_t) < sizeof(u64)) { 1960 if (!has_huge_files || sizeof(blkcnt_t) < sizeof(u64)) {
1961 /* 1961 /*
1962 * CONFIG_LBD is not enabled implies the inode 1962 * CONFIG_LBDAF is not enabled implies the inode
1963 * i_block represent total blocks in 512 bytes 1963 * i_block represent total blocks in 512 bytes
1964 * 32 == size of vfs inode i_blocks * 8 1964 * 32 == size of vfs inode i_blocks * 8
1965 */ 1965 */
@@ -2002,7 +2002,7 @@ static loff_t ext4_max_bitmap_size(int bits, int has_huge_files)
2002 2002
2003 if (!has_huge_files || sizeof(blkcnt_t) < sizeof(u64)) { 2003 if (!has_huge_files || sizeof(blkcnt_t) < sizeof(u64)) {
2004 /* 2004 /*
2005 * !has_huge_files or CONFIG_LBD not enabled implies that 2005 * !has_huge_files or CONFIG_LBDAF not enabled implies that
2006 * the inode i_block field represents total file blocks in 2006 * the inode i_block field represents total file blocks in
2007 * 2^32 512-byte sectors == size of vfs inode i_blocks * 8 2007 * 2^32 512-byte sectors == size of vfs inode i_blocks * 8
2008 */ 2008 */
@@ -2440,13 +2440,13 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
2440 if (has_huge_files) { 2440 if (has_huge_files) {
2441 /* 2441 /*
2442 * Large file size enabled file system can only be 2442 * Large file size enabled file system can only be
2443 * mount if kernel is build with CONFIG_LBD 2443 * mount if kernel is build with CONFIG_LBDAF
2444 */ 2444 */
2445 if (sizeof(root->i_blocks) < sizeof(u64) && 2445 if (sizeof(root->i_blocks) < sizeof(u64) &&
2446 !(sb->s_flags & MS_RDONLY)) { 2446 !(sb->s_flags & MS_RDONLY)) {
2447 ext4_msg(sb, KERN_ERR, "Filesystem with huge " 2447 ext4_msg(sb, KERN_ERR, "Filesystem with huge "
2448 "files cannot be mounted read-write " 2448 "files cannot be mounted read-write "
2449 "without CONFIG_LBD"); 2449 "without CONFIG_LBDAF");
2450 goto failed_mount; 2450 goto failed_mount;
2451 } 2451 }
2452 } 2452 }
@@ -2570,7 +2570,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
2570 ext4_msg(sb, KERN_ERR, "filesystem" 2570 ext4_msg(sb, KERN_ERR, "filesystem"
2571 " too large to mount safely"); 2571 " too large to mount safely");
2572 if (sizeof(sector_t) < 8) 2572 if (sizeof(sector_t) < 8)
2573 ext4_msg(sb, KERN_WARNING, "CONFIG_LBD not enabled"); 2573 ext4_msg(sb, KERN_WARNING, "CONFIG_LBDAF not enabled");
2574 goto failed_mount; 2574 goto failed_mount;
2575 } 2575 }
2576 2576