diff options
| -rw-r--r-- | fs/ext4/super.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index ef09d1443d1..14ada8c50c4 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
| @@ -3265,13 +3265,14 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) | |||
| 3265 | * Test whether we have more sectors than will fit in sector_t, | 3265 | * Test whether we have more sectors than will fit in sector_t, |
| 3266 | * and whether the max offset is addressable by the page cache. | 3266 | * and whether the max offset is addressable by the page cache. |
| 3267 | */ | 3267 | */ |
| 3268 | ret = generic_check_addressable(sb->s_blocksize_bits, | 3268 | err = generic_check_addressable(sb->s_blocksize_bits, |
| 3269 | ext4_blocks_count(es)); | 3269 | ext4_blocks_count(es)); |
| 3270 | if (ret) { | 3270 | if (err) { |
| 3271 | ext4_msg(sb, KERN_ERR, "filesystem" | 3271 | ext4_msg(sb, KERN_ERR, "filesystem" |
| 3272 | " too large to mount safely on this system"); | 3272 | " too large to mount safely on this system"); |
| 3273 | if (sizeof(sector_t) < 8) | 3273 | if (sizeof(sector_t) < 8) |
| 3274 | ext4_msg(sb, KERN_WARNING, "CONFIG_LBDAF not enabled"); | 3274 | ext4_msg(sb, KERN_WARNING, "CONFIG_LBDAF not enabled"); |
| 3275 | ret = err; | ||
| 3275 | goto failed_mount; | 3276 | goto failed_mount; |
| 3276 | } | 3277 | } |
| 3277 | 3278 | ||
