Re: [PATCH rcu 18/27] fs/btrfs: Remove "select SRCU"

From: Qu Wenruo
Date: Thu Jan 05 2023 - 04:07:35 EST




On 2023/1/5 08:38, Paul E. McKenney wrote:
Now that the SRCU Kconfig option is unconditionally selected, there is
no longer any point in selecting it. Therefore, remove the "select SRCU"
Kconfig statements.

Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
Cc: Chris Mason <clm@xxxxxx>
Cc: Josef Bacik <josef@xxxxxxxxxxxxxx>
Cc: David Sterba <dsterba@xxxxxxxx>
Cc: <linux-btrfs@xxxxxxxxxxxxxxx>

In fact, since commit c75e839414d3 ("btrfs: kill the subvol_srcu"), we can completely remove any SRCU related configs and even includes.

Reviewed-by: Qu Wenruo <wqu@xxxxxxxx>

Thanks,
Qu

---
fs/btrfs/Kconfig | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig
index 183e5c4aed348..37b6bab90c835 100644
--- a/fs/btrfs/Kconfig
+++ b/fs/btrfs/Kconfig
@@ -17,7 +17,6 @@ config BTRFS_FS
select FS_IOMAP
select RAID6_PQ
select XOR_BLOCKS
- select SRCU
depends on PAGE_SIZE_LESS_THAN_256KB
help