diff options
author | Jan Kara <jack@suse.cz> | 2020-02-21 11:08:35 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-02-22 01:32:07 +0100 |
commit | 9db176bceb5c5df4990486709da386edadc6bd1d (patch) | |
tree | de32c5c0baeff9ae16aab39018cf7e9ce97dfbba /fs/ext4/verity.c | |
parent | jbd2: fix ocfs2 corrupt when clearing block group bits (diff) | |
download | linux-9db176bceb5c5df4990486709da386edadc6bd1d.tar.xz linux-9db176bceb5c5df4990486709da386edadc6bd1d.zip |
ext4: fix mount failure with quota configured as module
When CONFIG_QFMT_V2 is configured as a module, the test in
ext4_feature_set_ok() fails and so mount of filesystems with quota or
project features fails. Fix the test to use IS_ENABLED macro which
works properly even for modules.
Link: https://lore.kernel.org/r/20200221100835.9332-1-jack@suse.cz
Fixes: d65d87a07476 ("ext4: improve explanation of a mount failure caused by a misconfigured kernel")
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Diffstat (limited to 'fs/ext4/verity.c')
0 files changed, 0 insertions, 0 deletions