diff options
author | Josef Bacik <josef@toxicpanda.com> | 2021-05-21 23:44:07 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-06-21 16:19:05 +0300 |
commit | a4cb90dc015cf18aa31bf7b8c38bf6426d9aed6a (patch) | |
tree | f206343b37a0c6c2ef5c3ef5e44bf819161bcd9a /fs/ioctl.c | |
parent | eb3b50536642b6e1ba67e84dcacdd9ccef30d850 (diff) | |
download | linux-a4cb90dc015cf18aa31bf7b8c38bf6426d9aed6a.tar.xz |
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 <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/ioctl.c')
0 files changed, 0 insertions, 0 deletions