summary refs log tree commit diff
path: root/fs/btrfs/disk-io.h
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2020-10-21 14:24:51 +0800
committerDavid Sterba <dsterba@suse.com>2020-12-08 15:53:54 +0100
commit3f6bb4aeb5dfa392dac438e816959ccb9c690896 (patch)
tree32c13c635aef6a45bdabe9eed8a821bc9a36ea8c /fs/btrfs/disk-io.h
parent03509b781ae98d4cf5cc139f89a3e75467b829a8 (diff)
downloadlinux-3f6bb4aeb5dfa392dac438e816959ccb9c690896.tar.gz
btrfs: sink the failed_start parameter to set_extent_bit
The @failed_start parameter is only paired with @exclusive_bits, and
those parameters are only used for EXTENT_LOCKED bit, which have their
own wrappers lock_extent_bits().

Thus for regular set_extent_bit() calls, the failed_start makes no
sense, just sink the parameter.

Also, since @failed_start and @exclusive_bits are used in pairs, add
an assert to make it obvious.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.h')
0 files changed, 0 insertions, 0 deletions