From: Lukas Czerner Date: Fri, 7 Dec 2012 10:09:19 +0000 (+0000) Subject: btrfs: get the device in write mode when deleting it X-Git-Tag: v3.8-rc5~1^2~10^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc975eb4605c5765a5d5e7a51d24ba5a1cda269e;p=pandora-kernel.git 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 --- Reading git-diff-tree failed