]> git.karo-electronics.de Git - karo-tx-linux.git/commit
btrfs: add dummy callback for readpage_io_failed and drop checks
authorDavid Sterba <dsterba@suse.com>
Fri, 17 Feb 2017 15:24:29 +0000 (16:24 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 28 Feb 2017 13:29:24 +0000 (14:29 +0100)
commit20a7db8ab3f2057a518448b1728d504ffadef65e
tree09d4f1e8acb66b0f935306cbee04b572824df95c
parent20c9801d393d9f077c476f40440b481daaccb9d6
btrfs: add dummy callback for readpage_io_failed and drop checks

Make extent_io_ops::readpage_io_failed_hook callback mandatory and
define a dummy function for btrfs_extent_io_ops. As the failed IO
callback is not performance critical, the branch vs extra trade off does
not hurt.

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