提交 4ae8553c 编写于 作者: D David Sterba

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: NDavid Sterba <dsterba@suse.com>
上级 0b08e1f4
......@@ -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();
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册