diff options
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r-- | fs/ext4/super.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index e4a241c65dbe..04158ad74dbb 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -1721,7 +1721,7 @@ static loff_t ext4_max_size(int blkbits, int has_huge_files) | |||
1721 | /* small i_blocks in vfs inode? */ | 1721 | /* small i_blocks in vfs inode? */ |
1722 | if (!has_huge_files || sizeof(blkcnt_t) < sizeof(u64)) { | 1722 | if (!has_huge_files || sizeof(blkcnt_t) < sizeof(u64)) { |
1723 | /* | 1723 | /* |
1724 | * CONFIG_LSF is not enabled implies the inode | 1724 | * CONFIG_LBD is not enabled implies the inode |
1725 | * i_block represent total blocks in 512 bytes | 1725 | * i_block represent total blocks in 512 bytes |
1726 | * 32 == size of vfs inode i_blocks * 8 | 1726 | * 32 == size of vfs inode i_blocks * 8 |
1727 | */ | 1727 | */ |
@@ -1764,7 +1764,7 @@ static loff_t ext4_max_bitmap_size(int bits, int has_huge_files) | |||
1764 | 1764 | ||
1765 | if (!has_huge_files || sizeof(blkcnt_t) < sizeof(u64)) { | 1765 | if (!has_huge_files || sizeof(blkcnt_t) < sizeof(u64)) { |
1766 | /* | 1766 | /* |
1767 | * !has_huge_files or CONFIG_LSF is not enabled | 1767 | * !has_huge_files or CONFIG_LBD is not enabled |
1768 | * implies the inode i_block represent total blocks in | 1768 | * implies the inode i_block represent total blocks in |
1769 | * 512 bytes 32 == size of vfs inode i_blocks * 8 | 1769 | * 512 bytes 32 == size of vfs inode i_blocks * 8 |
1770 | */ | 1770 | */ |
@@ -2021,13 +2021,13 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) | |||
2021 | if (has_huge_files) { | 2021 | if (has_huge_files) { |
2022 | /* | 2022 | /* |
2023 | * Large file size enabled file system can only be | 2023 | * Large file size enabled file system can only be |
2024 | * mount if kernel is build with CONFIG_LSF | 2024 | * mount if kernel is build with CONFIG_LBD |
2025 | */ | 2025 | */ |
2026 | if (sizeof(root->i_blocks) < sizeof(u64) && | 2026 | if (sizeof(root->i_blocks) < sizeof(u64) && |
2027 | !(sb->s_flags & MS_RDONLY)) { | 2027 | !(sb->s_flags & MS_RDONLY)) { |
2028 | printk(KERN_ERR "EXT4-fs: %s: Filesystem with huge " | 2028 | printk(KERN_ERR "EXT4-fs: %s: Filesystem with huge " |
2029 | "files cannot be mounted read-write " | 2029 | "files cannot be mounted read-write " |
2030 | "without CONFIG_LSF.\n", sb->s_id); | 2030 | "without CONFIG_LBD.\n", sb->s_id); |
2031 | goto failed_mount; | 2031 | goto failed_mount; |
2032 | } | 2032 | } |
2033 | } | 2033 | } |