mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
btrfs: separate types for submit_bio_start and submit_bio_done
The callbacks make use of different parameters that are passed to the other type unnecessarily. This patch adds separate types for each and the unused parameters will be removed. The type extent_submit_bio_hook_t keeps all parameters and can be used where the start/done types are not appropriate. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
d9d19a010b
commit
a758781d4b
3 changed files with 15 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue