diff options
| author | Anand Jain <anand.jain@oracle.com> | 2023-05-24 20:02:36 +0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2023-06-19 13:59:28 +0200 |
| commit | 19c4c49ca9d0eb14987386598e44a533a367f745 (patch) | |
| tree | 3473c5273cd1a1e487f37166f53259598a53325f /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | btrfs: reduce struct btrfs_fs_devices size by moving fsid_change (diff) | |
| download | linux-19c4c49ca9d0eb14987386598e44a533a367f745.tar.gz linux-19c4c49ca9d0eb14987386598e44a533a367f745.zip | |
btrfs: streamline fsid checks in alloc_fs_devices
We currently have redundant checks for the non-null value of fsid
simplify it.
And, no one is using alloc_fs_devices() with a NULL metadata_uuid
while fsid is not NULL, add an assert() to verify this condition.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
