]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: separate types for submit_bio_start and submit_bio_done
authorDavid Sterba <dsterba@suse.com>
Fri, 23 Jun 2017 01:05:23 +0000 (03:05 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Mar 2018 23:26:55 +0000 (01:26 +0200)
commitca4aada01182a585643d51b3e116c48135996eca
treeeb167aa5404ca5b56d22379c1e8bed9906fa7c43
parentd222f85525c5199f715503cb7e55a7ee21d47bbf
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>
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/extent_io.h