diff options
author | 2024-10-21 12:10:26 +0100 | |
---|---|---|
committer | 2024-11-11 14:34:20 +0100 | |
commit | 8d07a8f4c6415c71a9e0232aef8c2aee39620fca (patch) | |
tree | c82aaf47629b26f4e7382562b39f1a0be2aa930d /scripts/gcc-plugins/structleak_plugin.c | |
parent | btrfs: remove fs_info parameter from btrfs_cleanup_one_transaction() (diff) | |
download | wireguard-linux-8d07a8f4c6415c71a9e0232aef8c2aee39620fca.tar.xz wireguard-linux-8d07a8f4c6415c71a9e0232aef8c2aee39620fca.zip |
btrfs: remove duplicated code to drop delayed ref during transaction abort
When destroying delayed refs during a transaction abort, we have open
coded the removal of a delayed ref, which is also done by the static
helper function drop_delayed_ref(). So remove that duplicated code and
use drop_delayed_ref() instead.
Reviewed-by: Boris Burkov <boris@bur.io>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions