From: David Sterba Date: Mon, 13 Feb 2017 14:05:33 +0000 (+0100) Subject: btrfs: remove pointless rcu protection from btrfs_qgroup_inherit X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4ae8553c2d8811f41fe8d785646e90fd1580843f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git btrfs: remove pointless rcu protection from btrfs_qgroup_inherit There was never need for RCU protection around reading nodesize or other fairly constant filesystem data. Signed-off-by: David Sterba --- diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c index c6bf886f15b4..e1d0ab1f2ae0 100644 --- a/fs/btrfs/qgroup.c +++ b/fs/btrfs/qgroup.c @@ -2189,9 +2189,7 @@ int btrfs_qgroup_inherit(struct btrfs_trans_handle *trans, goto out; } - rcu_read_lock(); level_size = fs_info->nodesize; - rcu_read_unlock(); } /*