Patch "ext: EXT4_KUNIT_TESTS should depend on EXT4_FS instead of selecting it" has been added to the 5.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ext: EXT4_KUNIT_TESTS should depend on EXT4_FS instead of selecting it

to the 5.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     ext-ext4_kunit_tests-should-depend-on-ext4_fs-instea.patch
and it can be found in the queue-5.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 62099d80ca2ba20d2f5b8ae91f822d36b5c5e708
Author: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Date:   Fri Jan 22 12:02:34 2021 +0100

    ext: EXT4_KUNIT_TESTS should depend on EXT4_FS instead of selecting it
    
    [ Upstream commit 302fdadeafe4be539f247abf25f61822e4a5a577 ]
    
    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: 1cbeab1b242d16fd ("ext4: add kunit test for decoding extended timestamps")
    Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
    Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20210122110234.2825685-1-geert@xxxxxxxxxxxxxx
    Signed-off-by: Theodore Ts'o <tytso@xxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/fs/ext4/Kconfig b/fs/ext4/Kconfig
index 619dd35ddd48a..86699c8cab281 100644
--- a/fs/ext4/Kconfig
+++ b/fs/ext4/Kconfig
@@ -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.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux