commit | 9db176bceb5c5df4990486709da386edadc6bd1d | [log] [tgz] |
---|---|---|
author | Jan Kara <[email protected]> | Fri Feb 21 11:08:35 2020 +0100 |
committer | Theodore Ts'o <[email protected]> | Fri Feb 21 19:32:07 2020 -0500 |
tree | de32c5c0baeff9ae16aab39018cf7e9ce97dfbba | |
parent | 8eedabfd66b68a4623beec0789eac54b8c9d0fb6 [diff] |
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/[email protected] Fixes: d65d87a07476 ("ext4: improve explanation of a mount failure caused by a misconfigured kernel") Signed-off-by: Jan Kara <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]> Cc: [email protected]