mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-08 02:01:16 +00:00
btrfs-progs: disk-io: Remove duplicated ASSERT() call
There are two ASSERT() with completely the same check introduced in commitf7717d8cdb
("btrfs-progs: Remove fsid/metdata_uuid fields from fs_info"). Just remove it. Fixes:f7717d8cdb
("btrfs-progs: Remove fsid/metdata_uuid fields from fs_info") Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
e073b6e14f
commit
132ccd98a8
@ -1248,7 +1248,6 @@ static struct btrfs_fs_info *__open_ctree_fd(int fp, const char *path,
|
||||
goto out_devices;
|
||||
}
|
||||
|
||||
ASSERT(!memcmp(disk_super->fsid, fs_devices->fsid, BTRFS_FSID_SIZE));
|
||||
ASSERT(!memcmp(disk_super->fsid, fs_devices->fsid, BTRFS_FSID_SIZE));
|
||||
if (btrfs_fs_incompat(fs_info, METADATA_UUID))
|
||||
ASSERT(!memcmp(disk_super->metadata_uuid,
|
||||
|
Loading…
Reference in New Issue
Block a user