btrfs: btrfs_rm_device() should zero mirror SB as well
authorAnand Jain <anand.jain@oracle.com>
Sun, 6 Apr 2014 04:59:07 +0000 (12:59 +0800)
committerChris Mason <clm@fb.com>
Tue, 10 Jun 2014 00:20:41 +0000 (17:20 -0700)
This fix will ensure all SB copies on the disk is zeroed
when the disk is intentionally removed. This helps to
better manage disks in the user land.

This version of patch also merges the Zach patch as below.

 btrfs: don't double brelse on device rm

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Zach Brown <zab@redhat.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/volumes.c

Simple merge