btrfs: get the device in write mode when deleting it
authorLukas Czerner <lczerner@redhat.com>
Fri, 7 Dec 2012 10:09:19 +0000 (10:09 +0000)
committerJosef Bacik <josef@toxicpanda.com>
Mon, 14 Jan 2013 18:52:31 +0000 (13:52 -0500)
When we're deleting the device we should get it in write mode since
we're going to re-write the super block magic on that device. And it
should fail if the device is read-only.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>

No differences found