commit | 4d90d28b1c5c5ab6292c0888dc1ebdfc3023f877 | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Sun Apr 06 12:59:07 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Mon Jun 09 17:20:41 2014 -0700 |
tree | dde05db2c69de9bce804b7f5c650aa8b2094c9e8 | |
parent | 27cdeb7096b86f05ad018a24cdb63acdf0850a5d [diff] |
btrfs: btrfs_rm_device() should zero mirror SB as well 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>