Message ID | 20191212110204.11128-9-Damenly_Su@gmx.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs-progs: metadata_uuid feature fixes and portation | expand |
diff --git a/volumes.c b/volumes.c index 94940dd82d0f..9d76f9a102b2 100644 --- a/volumes.c +++ b/volumes.c @@ -371,12 +371,6 @@ static int device_list_add(const char *path, fs_devices = find_fsid_changing(disk_super); } - if (metadata_uuid && !fs_devices) - fs_devices = find_fsid(disk_super->fsid, - disk_super->metadata_uuid); - else - fs_devices = find_fsid(disk_super->fsid, NULL); - if (!fs_devices) { fs_devices = kzalloc(sizeof(*fs_devices), GFP_NOFS); if (!fs_devices)