Skip to content
Commit 174ba509 authored by Chris Mason's avatar Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent a47d6b70
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment