]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Define submit_bio_hook's type directly
authorNikolay Borisov <nborisov@suse.com>
Wed, 10 Apr 2019 14:24:38 +0000 (17:24 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:46 +0000 (19:02 +0200)
commit600c4f0e99b08948d7b3e68f258ccccaf1fde4a8
tree0865c96a70846457921dca19151753d3f628fbc2
parent2e8a8bc90dad5795107473432d7379fa738518df
btrfs: Define submit_bio_hook's type directly

There is no need to use a typedef to define the type of the function and
then use that to define the respective member in extent_io_ops.  Define
struct's member directly. No functional changes.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.h