Whamcloud - gitweb
libext2fs: add verity flag to EXT2_LIB_FEATURE_RO_COMPAT_SUPP
authorEric Biggers <ebiggers@google.com>
Tue, 21 Aug 2018 00:15:52 +0000 (17:15 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 21 Aug 2018 05:22:24 +0000 (01:22 -0400)
commit76e28a1339890a33ac07eb09d2db753ef1ee7eee
treea275f58cb1c40088498e66aefad390e1cbd80d42
parent7e5a95e3d59719361661086ec7188ca6e674f139
libext2fs: add verity flag to EXT2_LIB_FEATURE_RO_COMPAT_SUPP

The new ro_compat filesystem feature flag for fs-verity was added to
EXT2_FEATURE_RO_COMPAT_SUPP, but that's not actually used by e2fsprogs
itself.  So contrary to the v1.44.4 release notes, 'mke2fs -O verity'
doesn't actually work, nor does e2fsck allow the filesystem to have the
verity feature.  Fix it by adding the flag to the correct place
(EXT2_LIB_FEATURE_RO_COMPAT_SUPP) too.

Fixes: faae7aa00df0 ("Reserve codepoints for the fsverity feature.")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/ext2fs.h