]> git.karo-electronics.de Git - linux-beck.git/commit
md/raid10: minor code improvement in fix_read_error()
authorNeilBrown <neilb@suse.com>
Thu, 2 Jun 2016 06:19:52 +0000 (16:19 +1000)
committerShaohua Li <shli@fb.com>
Mon, 13 Jun 2016 18:54:16 +0000 (11:54 -0700)
commitd683c8e0f728f4b4e85f21d5fa7e452f3d3f5fb1
tree0bdc23ff8fc5d1e8681fb4c9563bfab811bd63e5
parentd094d6860b6678057f70dee27121ea4860c55e06
md/raid10: minor code improvement in fix_read_error()

rdev already holds conf->mirrors[d].rdev, so no need to load it again.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid10.c