aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ext4/super.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 9c8baf46058..af0835187e7 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1813,6 +1813,13 @@ static int ext4_fill_super (struct super_block *sb, void *data, int silent)
1813 goto failed_mount3; 1813 goto failed_mount3;
1814 } 1814 }
1815 1815
1816 if (ext4_blocks_count(es) > 0xffffffffULL &&
1817 !jbd2_journal_set_features(EXT4_SB(sb)->s_journal, 0, 0,
1818 JBD2_FEATURE_INCOMPAT_64BIT)) {
1819 printk(KERN_ERR "ext4: Failed to set 64-bit journal feature\n");
1820 goto failed_mount4;
1821 }
1822
1816 /* We have now updated the journal if required, so we can 1823 /* We have now updated the journal if required, so we can
1817 * validate the data journaling mode. */ 1824 * validate the data journaling mode. */
1818 switch (test_opt(sb, DATA_FLAGS)) { 1825 switch (test_opt(sb, DATA_FLAGS)) {