raid10: record correct address of bad block
authorTomasz Majchrzak <tomasz.majchrzak@intel.com>
Tue, 23 Aug 2016 08:53:57 +0000 (10:53 +0200)
committerShaohua Li <shli@fb.com>
Wed, 24 Aug 2016 17:21:51 +0000 (10:21 -0700)
commit27028626b4b9022dcac23688e09ea43b36e1183c
treec1b2e77abf8a34e3b91ac524a215a5492d0ab188
parent0f6187dbe542d71ace8ba0908954b0f4f8a30a1e
raid10: record correct address of bad block

For failed write request record block address on a device, not block
address in an array.

Signed-off-by: Tomasz Majchrzak <tomasz.majchrzak@intel.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid10.c