aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2015-06-17 13:10:48 +0000
committerDavid Sterba <[email protected]>2015-06-19 12:03:13 +0000
commit4fde46f0cc71c7aba299ee6dfb4f017fb97b6e70 (patch)
tree31a47f030f88140fa99e8fc555a942435db3a0fd /fs/btrfs/dev-replace.c
parentBtrfs: sysfs: don't fail seeding for the sake of sysfs kobject issue (diff)
downloadkernel-4fde46f0cc71c7aba299ee6dfb4f017fb97b6e70.tar.gz
kernel-4fde46f0cc71c7aba299ee6dfb4f017fb97b6e70.zip
Btrfs: free the stale device
When btrfs on a device is overwritten with a new btrfs (mkfs), the old btrfs instance in the kernel becomes stale. So with this patch, if kernel finds device is overwritten then delete the stale fsid/uuid. Signed-off-by: Anand Jain <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions