]> git.baikalelectronics.ru Git - kernel.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)
commite264788386946a42b1557d77b9bb3b4ba7dca848
tree09d4f1e8acb66b0f935306cbee04b572824df95c
parent6b318e4fcef406667dcf93f73e0c5f34e7a3b80f
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