]> git.karo-electronics.de Git - karo-tx-linux.git/commit
btrfs: make use of btrfs_scratch_superblocks() in btrfs_rm_device()
authorAnand Jain <anand.jain@oracle.com>
Sat, 13 Feb 2016 02:01:38 +0000 (10:01 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Feb 2016 16:58:43 +0000 (17:58 +0100)
commit3fb2fe75b8616cfb5be9eb7fc664cb25c7dcd4bb
tree2bb4ea58d0ece60ff24db08584ae52b890c12c6c
parentda335ed6f002f12b4934d7466dddefd6247061e1
btrfs: make use of btrfs_scratch_superblocks() in btrfs_rm_device()

With the previous patches now the btrfs_scratch_superblocks() is ready to
be used in btrfs_rm_device() so use it.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
[ use GFP_KERNEL ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c