1 ext4: enable block_validity by default
3 From: "Darrick J. Wong" <darrick.wong@oracle.com>
5 Enable by default the block_validity feature, which checks for
6 collisions between newly allocated blocks and critical system
9 Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
10 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
12 fs/ext4/super.c | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
15 diff --git a/fs/ext4/super.c b/fs/ext4/super.c
16 index 0b28b36..bbf515c 100644
19 @@ -3519,8 +3519,8 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
20 set_opt(sb, ERRORS_CONT);
22 set_opt(sb, ERRORS_RO);
23 - if (def_mount_opts & EXT4_DEFM_BLOCK_VALIDITY)
24 - set_opt(sb, BLOCK_VALIDITY);
25 + /* block_validity enabled by default; disable with noblock_validity */
26 + set_opt(sb, BLOCK_VALIDITY);
27 if (def_mount_opts & EXT4_DEFM_DISCARD)
31 To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
32 the body of a message to majordomo@vger.kernel.org
33 More majordomo info at http://vger.kernel.org/majordomo-info.html