diff options
| author | Christoph Hellwig <[email protected]> | 2023-05-23 10:40:18 +0200 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-06-19 13:59:29 +0200 |
| commit | 85724171b302914bb8999b9df091fd4616a36eb7 (patch) | |
| tree | 79d34bd28b08ba5eaf6b2305bcd701933ac4c7fc /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | d85512d54e15c3b8f17dbab44b3d41c1d956902a (diff) | |
btrfs: fix the btrfs_get_global_root return value
btrfs_grab_root returns either the root or NULL, and the callers of
btrfs_get_global_root expect it to return the same. But all the more
recently added roots instead return an ERR_PTR, so fix this.
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions