mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-19 17:11:03 +00:00
ext: EXT4_KUNIT_TESTS should depend on EXT4_FS instead of selecting it
[ Upstream commit302fdadeaf
] EXT4_KUNIT_TESTS selects EXT4_FS, thus enabling an optional feature the user may not want to enable. Fix this by making the test depend on EXT4_FS instead. Fixes:1cbeab1b24
("ext4: add kunit test for decoding extended timestamps") Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/20210122110234.2825685-1-geert@linux-m68k.org Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
bf672140d6
commit
d167a7367d
1 changed files with 1 additions and 2 deletions
|
@ -103,8 +103,7 @@ config EXT4_DEBUG
|
|||
|
||||
config EXT4_KUNIT_TESTS
|
||||
tristate "KUnit tests for ext4" if !KUNIT_ALL_TESTS
|
||||
select EXT4_FS
|
||||
depends on KUNIT
|
||||
depends on EXT4_FS && KUNIT
|
||||
default KUNIT_ALL_TESTS
|
||||
help
|
||||
This builds the ext4 KUnit tests.
|
||||
|
|
Loading…
Reference in a new issue