btrfs: add mirror_num to extent_read_full_page
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Mon, 13 Jun 2011 18:02:58 +0000 (20:02 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Thu, 29 Sep 2011 10:54:28 +0000 (12:54 +0200)
Currently, extent_read_full_page always assumes we are trying to read mirror
0, which generally is the best we can do. To add flexibility, pass it as a
parameter. This will be needed by scrub fixup code.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/inode.c

Simple merge
Simple merge
Simple merge
Simple merge