commit | 1f78160ce1b1b8e657e2248118c4d91f881763f0 | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | Wed Apr 20 10:09:16 2011 +0000 |
committer | Chris Mason <chris.mason@oracle.com> | Mon May 23 13:24:43 2011 -0400 |
tree | 98c5496a9ab3e77e4cd682c0487f4c0127198396 | |
parent | 46224705656633466ca7dc71d81b3c0abc76cae4 [diff] |
Btrfs: using rcu lock in the reader side of devices list fs_devices->devices is only updated on remove and add device paths, so we can use rcu to protect it in the reader side Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>