btrfs: drop checks for mandatory extent_io_ops callbacks
authorDavid Sterba <dsterba@suse.com>
Fri, 17 Feb 2017 14:59:35 +0000 (15:59 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 28 Feb 2017 13:29:24 +0000 (14:29 +0100)
commit20c9801d393d9f077c476f40440b481daaccb9d6
treec7dbce8b7c6908bcfde03baee494d9aa44ddade8
parent4d53dddbec671bcb64a936a3d2b7bf1ce2252ed0
btrfs: drop checks for mandatory extent_io_ops callbacks

We know that eadpage_end_io_hook, submit_bio_hook and merge_bio_hook are
always defined so we can drop the checks before we call them.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c