Btrfs: split bio_readpage_error into several functions
authorMiao Xie <miaox@cn.fujitsu.com>
Fri, 12 Sep 2014 10:43:59 +0000 (18:43 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:38:56 +0000 (13:38 -0700)
commit2fe6303e7cd099334cdb09370cece6bc168de131
tree389aaecfb5eff331be497e345b2366d688cf2537
parent454ff3de42872870ffc3580b69132a9ef40f5cc5
Btrfs: split bio_readpage_error into several functions

The data repair function of direct read will be implemented later, and some code
in bio_readpage_error will be reused, so split bio_readpage_error into
several functions which will be used in direct read repair later.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h