diff options
| author | 2024-10-21 12:32:55 +0100 | |
|---|---|---|
| committer | 2024-11-11 14:34:20 +0100 | |
| commit | 7ef360488600e8b7c131306b9f5ed7e42202b487 (patch) | |
| tree | ef7ad1588ad9bc9593c4ee6c65d55d9ad6ef1057 /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | btrfs: remove num_entries atomic counter from delayed ref root (diff) | |
btrfs: change return type of btrfs_delayed_ref_lock() to boolean
The function only returns 0, meaning it was able to lock the delayed ref
head, or -EAGAIN in case it wasn't able to lock it. So simplify this and
use a boolean return type instead, returning true if it was able to lock
and false otherwise.
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 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
