md: teach sync_page_io about new_data_offset.
authorNeilBrown <neilb@suse.de>
Sun, 20 May 2012 23:28:32 +0000 (09:28 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 20 May 2012 23:28:32 +0000 (09:28 +1000)
commit1fdd6fc92f330b81604c9a4f892f713775a9751a
treefb0249d6891e04cfe7c82e850d86361879fec377
parent5cf00fcd3c98d2eafb58ac7a649bbdb9dbc4902b
md: teach sync_page_io about new_data_offset.

Some code in raid1 and raid10 use sync_page_io to
read/write pages when responding to read errors.
As we will shortly support changing data_offset for
raid10, this function must understand new_data_offset.

So add that understanding.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c