Btrfs: modify clean_io_failure and make it suit direct io
authorMiao Xie <miaox@cn.fujitsu.com>
Fri, 12 Sep 2014 10:44:01 +0000 (18:44 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:38:59 +0000 (13:38 -0700)
We could not use clean_io_failure in the direct IO path because it got the
filesystem information from the page structure, but the page in the direct
IO bio didn't have the filesystem information in its structure. So we need
modify it and pass all the information it need by parameters.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>

No differences found