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 50edbbc2e76c..da0e632a21fc 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c | |||
@@ -1718,7 +1718,7 @@ int btrfs_rm_device(struct btrfs_root *root, char *device_path) | |||
1718 | device->fs_devices->total_devices--; | 1718 | device->fs_devices->total_devices--; |
1719 | 1719 | ||
1720 | if (device->missing) | 1720 | if (device->missing) |
1721 | root->fs_info->fs_devices->missing_devices--; | 1721 | device->fs_devices->missing_devices--; |
1722 | 1722 | ||
1723 | next_device = list_entry(root->fs_info->fs_devices->devices.next, | 1723 | next_device = list_entry(root->fs_info->fs_devices->devices.next, |
1724 | struct btrfs_device, dev_list); | 1724 | struct btrfs_device, dev_list); |