]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md: teach sync_page_io about new_data_offset.
authorNeilBrown <neilb@suse.de>
Thu, 12 Apr 2012 06:12:20 +0000 (16:12 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 12 Apr 2012 06:12:20 +0000 (16:12 +1000)
commit359bfbea0198fae7e71964d1ff9adbf4c0415ea1
treecd5ad28c742c75cd7d74a548ca5fad0657e94eec
parent5c9d24ee0cd6b77451d0bc341fd4bda5b8435608
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