commit | cc975eb4605c5765a5d5e7a51d24ba5a1cda269e | [log] [tgz] |
---|---|---|
author | Lukas Czerner <lczerner@redhat.com> | Fri Dec 07 10:09:19 2012 +0000 |
committer | Josef Bacik <josef@toxicpanda.com> | Mon Jan 14 13:52:31 2013 -0500 |
tree | 0f7b9817ec349f6db0333dc8182b8f43df302fe6 | |
parent | cfa7a9ccda711ac6ab8f0d17c3a9b540092d305a [diff] |
btrfs: get the device in write mode when deleting it 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>