diff options
author | 2011-04-20 10:09:16 +0000 | |
---|---|---|
committer | 2011-05-23 13:24:43 -0400 | |
commit | 1f78160ce1b1b8e657e2248118c4d91f881763f0 (patch) | |
tree | 98c5496a9ab3e77e4cd682c0487f4c0127198396 /drivers/spi/spi-fsl-lib.c | |
parent | Btrfs: drop unnecessary device lock (diff) | |
download | wireguard-linux-1f78160ce1b1b8e657e2248118c4d91f881763f0.tar.xz wireguard-linux-1f78160ce1b1b8e657e2248118c4d91f881763f0.zip |
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>
Diffstat (limited to 'drivers/spi/spi-fsl-lib.c')
0 files changed, 0 insertions, 0 deletions