diff options
author | Chris Mason <chris.mason@oracle.com> | 2011-05-27 18:03:58 +0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-05-27 18:03:58 +0400 |
commit | 174ba50915b08dcfd07c8b5fb795b46a165fa09a (patch) | |
tree | 94bc84b6e8bea05775373f90bd8eb7aa254a943f /fs/btrfs/transaction.h | |
parent | a47d6b70e280401d553e7cac6f5750870de1ad21 (diff) | |
download | linux-174ba50915b08dcfd07c8b5fb795b46a165fa09a.tar.xz |
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/transaction.h')
0 files changed, 0 insertions, 0 deletions