From 4d90d28b1c5c5ab6292c0888dc1ebdfc3023f877 Mon Sep 17 00:00:00 2001 From: Anand Jain Date: Sun, 6 Apr 2014 12:59:07 +0800 Subject: [PATCH] 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 Signed-off-by: Zach Brown Signed-off-by: Chris Mason --- Reading git-format-patch failed