diff options
| -rw-r--r-- | fs/btrfs/volumes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index b5c67dd5e522..d48b24e54366 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c | |||
| @@ -2002,7 +2002,7 @@ void btrfs_rm_dev_replace_remove_srcdev(struct btrfs_fs_info *fs_info, | |||
| 2002 | fs_devices = srcdev->fs_devices; | 2002 | fs_devices = srcdev->fs_devices; |
| 2003 | 2003 | ||
| 2004 | list_del_rcu(&srcdev->dev_list); | 2004 | list_del_rcu(&srcdev->dev_list); |
| 2005 | list_del_rcu(&srcdev->dev_alloc_list); | 2005 | list_del(&srcdev->dev_alloc_list); |
| 2006 | fs_devices->num_devices--; | 2006 | fs_devices->num_devices--; |
| 2007 | if (srcdev->missing) | 2007 | if (srcdev->missing) |
| 2008 | fs_devices->missing_devices--; | 2008 | fs_devices->missing_devices--; |
