diff options
| author | Filipe Manana <fdmanana@suse.com> | 2025-11-19 12:35:10 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-11-25 01:53:32 +0100 |
| commit | 9c78fe4a85fd968e1202b6c8cd9306746039ce2b (patch) | |
| tree | fcb991b263d5e3dc29269d97a951dbdef8ac6015 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | 70085399b1a1623ef488d96b4c2d0c67be1d0607 (diff) | |
btrfs: use test_and_set_bit() in btrfs_delayed_delete_inode_ref()
Instead of testing and setting the BTRFS_DELAYED_NODE_DEL_IREF bit in the
delayed node's flags, use test_and_set_bit() which makes the code shorter
without compromising readability and getting rid of the label and goto.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Daniel Vacek <neelx@suse.com>
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions
