Whamcloud - gitweb
mke2fs: disable CSUM_SEED if the METADATA_CSUM feature is disabled by the user
authorTheodore Ts'o <tytso@mit.edu>
Thu, 1 Sep 2022 22:27:25 +0000 (18:27 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 1 Sep 2022 22:27:25 +0000 (18:27 -0400)
commita60d9cf2a6f29a9e4b56d8f3ec9dde7675661dd8
tree49998b5720a141e8a8e39a888a5f94eec1339453
parent2e6b62711bab9d6eef6dda29d5e58d28aea0af66
mke2fs: disable CSUM_SEED if the METADATA_CSUM feature is disabled by the user

If the CSUM_SEED feature is enabled by default, and the user disables
metadata_csum, then also disable CSUM_SEED, since a file system with
csum_seed but not metadata_csum is not valid.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/mke2fs.c