]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit2d06e3b7145bb08705615e6e7400024d8e36a5c0
tree9d1f8a457a580d37b9ba13f02f44ecf9d49d712d
parentcdb76be31568604f389f951bd0efadd3f530f2dd
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