1 |
From 02f0cbf4607046913d4bf7d3af91f2d8c7731baf Mon Sep 17 00:00:00 2001 |
2 |
From: Martin Whitaker <mageia@martin-whitaker.me.uk> |
3 |
Date: Sat, 11 Feb 2023 14:10:40 +0000 |
4 |
Subject: [PATCH] Ignore the ext4 metadata_csum_seed incompatibility feature. |
5 |
|
6 |
e2fsprogs 1.47.0 enables this feature by default. For our purposes it |
7 |
can be ignored. |
8 |
|
9 |
diff --git a/filesystems/fsw_ext4.c b/filesystems/fsw_ext4.c |
10 |
index ddade09..7fe4c34 100644 |
11 |
--- a/filesystems/fsw_ext4.c |
12 |
+++ b/filesystems/fsw_ext4.c |
13 |
@@ -142,7 +142,7 @@ static fsw_status_t fsw_ext4_volume_mount(struct fsw_ext4_volume *vol) |
14 |
(vol->sb->s_feature_incompat & ~(EXT4_FEATURE_INCOMPAT_FILETYPE | EXT4_FEATURE_INCOMPAT_RECOVER | |
15 |
EXT4_FEATURE_INCOMPAT_EXTENTS | EXT4_FEATURE_INCOMPAT_FLEX_BG | |
16 |
EXT4_FEATURE_INCOMPAT_64BIT | EXT4_FEATURE_INCOMPAT_META_BG | |
17 |
- EXT4_FEATURE_INCOMPAT_ENCRYPT))) |
18 |
+ EXT4_FEATURE_INCOMPAT_ENCRYPT | EXT4_FEATURE_INCOMPAT_BG_USE_META_CSUM))) |
19 |
return FSW_UNSUPPORTED; |
20 |
|
21 |
if (vol->sb->s_rev_level == EXT4_DYNAMIC_REV && |
22 |
-- |
23 |
2.30.6 |
24 |
|