diff options
| author | Josef Bacik <[email protected]> | 2020-01-24 09:32:26 -0500 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-03-23 17:01:26 +0100 |
| commit | 4cdfd93002cb84471ed85b4999cd38077a317873 (patch) | |
| tree | c06cbe900b8e96ef07774238244e15d8550f6bb6 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | a98db0f304670dfd65375e6d0ea08793c174bf44 (diff) | |
btrfs: handle NULL roots in btrfs_put/btrfs_grab_fs_root
We want to use this for dropping all roots, and in some error cases we
may not have a root, so handle this to make the cleanup code easier.
Make btrfs_grab_fs_root the same so we can use it in cases where the
root may not exist (like the quota root).
Reviewed-by: Nikolay Borisov <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions