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>
Thu, 28 Apr 2016 08:59:13 +0000 (10:59 +0200)
commit42b674271566c26692c32f4ec1f4b4cf14d5046f
treea1f51942585b5721f1f72a9e8e04c88357eca625
parentb3d1b1532ff9620ff5dba891a96f3e912005eb10
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