projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b08e1f
)
btrfs: remove pointless rcu protection from btrfs_qgroup_inherit
author
David Sterba
<dsterba@suse.com>
Mon, 13 Feb 2017 14:05:33 +0000
(15:05 +0100)
committer
David Sterba
<dsterba@suse.com>
Fri, 17 Feb 2017 11:03:50 +0000
(12:03 +0100)
There was never need for RCU protection around reading nodesize or other
fairly constant filesystem data.
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/qgroup.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/qgroup.c
b/fs/btrfs/qgroup.c
index c6bf886f15b4baad0dccd0862b533f7494196247..e1d0ab1f2ae095a716b03cfbcfba8419b02709dd 100644
(file)
--- 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();
}
/*