summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_super.c
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2012-12-07 11:09:19 +0100
committerJosef Bacik <josef@toxicpanda.com>2013-01-14 19:52:31 +0100
commitcc975eb4605c5765a5d5e7a51d24ba5a1cda269e (patch)
tree0f7b9817ec349f6db0333dc8182b8f43df302fe6 /fs/xfs/xfs_super.c
parentBtrfs: fix memory leak in name_cache_insert() (diff)
downloadlinux-cc975eb4605c5765a5d5e7a51d24ba5a1cda269e.tar.xz
linux-cc975eb4605c5765a5d5e7a51d24ba5a1cda269e.zip
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>
Diffstat (limited to 'fs/xfs/xfs_super.c')
0 files changed, 0 insertions, 0 deletions