Commit 587bb33
btrfs: fix compat mask in error messages in btrfs_check_features()
Commit d7f67ac ("btrfs: relax block-group-tree feature dependency
checks") introduced a regression when it comes to handling unsupported
incompat or compat_ro flags. Beforehand we only printed the flags that
we didn't recognize, afterwards we printed them all, which is less
useful. Fix the error handling so it behaves like it used to.
Fixes: d7f67ac ("btrfs: relax block-group-tree feature dependency checks")
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Mark Harmstone <mark@harmstone.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent 1c7e911 commit 587bb33
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3187 | 3187 | | |
3188 | 3188 | | |
3189 | 3189 | | |
3190 | | - | |
| 3190 | + | |
3191 | 3191 | | |
3192 | 3192 | | |
3193 | 3193 | | |
| |||
3219 | 3219 | | |
3220 | 3220 | | |
3221 | 3221 | | |
3222 | | - | |
| 3222 | + | |
3223 | 3223 | | |
3224 | 3224 | | |
3225 | 3225 | | |
| |||
3232 | 3232 | | |
3233 | 3233 | | |
3234 | 3234 | | |
3235 | | - | |
| 3235 | + | |
3236 | 3236 | | |
3237 | 3237 | | |
3238 | 3238 | | |
| |||
0 commit comments