commit | 174ba50915b08dcfd07c8b5fb795b46a165fa09a | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Fri May 27 10:03:58 2011 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Fri May 27 10:03:58 2011 -0400 |
tree | 94bc84b6e8bea05775373f90bd8eb7aa254a943f | |
parent | a47d6b70e280401d553e7cac6f5750870de1ad21 [diff] |
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>