aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2015-08-14 18:32:59 +0800
committerDavid Sterba <dsterba@suse.com>2015-10-01 17:37:34 +0200
commit12b1c2637b6e0763121648d637ffe603b422e986 (patch)
tree92f6954c4e22915f07e481af9d1574a97b897ae6 /fs/btrfs/dev-replace.c
parent29c36d72535deb3d8961b3fb4b6a565190a6c63b (diff)
downloadlinux-12b1c2637b6e0763121648d637ffe603b422e986.tar.gz
linux-12b1c2637b6e0763121648d637ffe603b422e986.tar.bz2
linux-12b1c2637b6e0763121648d637ffe603b422e986.zip
Btrfs: enhance btrfs_scratch_superblock to scratch all superblocks
This patch updates and renames btrfs_scratch_superblocks, (which is used by the replace device thread), with those fixes from the scratch superblock code section of btrfs_rm_device(). The fixes are: Scratch all copies of superblock Notify kobject that superblock has been changed Update time on the device So that btrfs_rm_device() can use the function btrfs_scratch_superblocks() instead of its own scratch code. And further replace deivce code which similarly releases device back to the system, will have the fixes from the btrfs device delete. Signed-off-by: Anand Jain <anand.jain@oracle.com> [renamed to btrfs_scratch_superblock] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions