]> git.baikalelectronics.ru Git - kernel.git/commit
md: raid10: avoid direct access to bvec table in handle_reshape_read_error
authorMing Lei <tom.leiming@gmail.com>
Thu, 16 Mar 2017 16:12:35 +0000 (00:12 +0800)
committerShaohua Li <shli@fb.com>
Fri, 24 Mar 2017 17:41:37 +0000 (10:41 -0700)
commit9c525244945bc474233e25914288313131b1bcdf
tree9d1f8a457a580d37b9ba13f02f44ecf9d49d712d
parent0c81e931c9b569ef2fc142cb225338dc9a1a9310
md: raid10: avoid direct access to bvec table in handle_reshape_read_error

All reshape I/O share pages from 1st copy device, so just use that pages
for avoiding direct access to bvec table in handle_reshape_read_error.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid10.c