summaryrefslogtreecommitdiff
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2011-05-27 10:03:58 -0400
committerChris Mason <chris.mason@oracle.com>2011-05-27 10:03:58 -0400
commit174ba50915b08dcfd07c8b5fb795b46a165fa09a (patch)
tree94bc84b6e8bea05775373f90bd8eb7aa254a943f /fs/btrfs/ioctl.c
parenta47d6b70e280401d553e7cac6f5750870de1ad21 (diff)
downloadlinux-3.10-174ba50915b08dcfd07c8b5fb795b46a165fa09a.tar.gz
linux-3.10-174ba50915b08dcfd07c8b5fb795b46a165fa09a.tar.bz2
linux-3.10-174ba50915b08dcfd07c8b5fb795b46a165fa09a.zip
Btrfs: use the device_list_mutex during write_dev_supers
write_dev_supers was changed to use RCU to protect the list of devices, but it was then sleeping while it actually wrote the supers. This fixes it to just use the mutex, since we really don't any concurrency in write_dev_supers anyway. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions