diff options
author | David Sterba <dsterba@suse.com> | 2017-02-13 15:05:33 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-17 12:03:50 +0100 |
commit | 4ae8553c2d8811f41fe8d785646e90fd1580843f (patch) | |
tree | 31fbe494414106b8a6e5156684717c02d0370af9 /fs/btrfs | |
parent | 0b08e1f4f7b7af719500f5f37a60c342ba812f69 (diff) | |
download | linux-4ae8553c2d8811f41fe8d785646e90fd1580843f.tar.bz2 |
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 <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/qgroup.c | 2 |
1 files changed, 0 insertions, 2 deletions
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(); } /* |