]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md: teach sync_page_io about new_data_offset.
authorNeilBrown <neilb@suse.de>
Tue, 24 Apr 2012 00:57:48 +0000 (10:57 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 24 Apr 2012 00:57:48 +0000 (10:57 +1000)
commit649e7ba454d0f23632d7be87aacc872761041b89
treea1ad207ca170feef2ffded5d9314b586cc0292a5
parentb2cbc886c954e1a14a267e8d1e165d8a458b2f8d
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