diff options
-rw-r--r-- | fs/btrfs/volumes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 27a14f1c5a7c..94a0d186de4c 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c | |||
@@ -1868,6 +1868,8 @@ void btrfs_rm_dev_replace_srcdev(struct btrfs_fs_info *fs_info, | |||
1868 | tmp_fs_devices = tmp_fs_devices->seed; | 1868 | tmp_fs_devices = tmp_fs_devices->seed; |
1869 | } | 1869 | } |
1870 | fs_devices->seed = NULL; | 1870 | fs_devices->seed = NULL; |
1871 | __btrfs_close_devices(fs_devices); | ||
1872 | free_fs_devices(fs_devices); | ||
1871 | } | 1873 | } |
1872 | } | 1874 | } |
1873 | 1875 | ||