diff options
| author | Josef Bacik <[email protected]> | 2021-05-21 16:44:07 -0400 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2021-06-21 15:19:05 +0200 |
| commit | a4cb90dc015cf18aa31bf7b8c38bf6426d9aed6a (patch) | |
| tree | f206343b37a0c6c2ef5c3ef5e44bf819161bcd9a /scripts/gdb/linux/proc.py | |
| parent | eb3b50536642b6e1ba67e84dcacdd9ccef30d850 (diff) | |
btrfs: make btrfs_release_delayed_iref handle the !iref case
Right now we only cleanup the delayed iref if we have
BTRFS_DELAYED_NODE_DEL_IREF set on the node. However we have some error
conditions that need to cleanup the iref if it still exists, so to make
this code cleaner move the test_bit into btrfs_release_delayed_iref
itself and unconditionally call it in each of the cases instead.
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions