]> git.karo-electronics.de Git - linux-beck.git/commit
md/raid1/ avoid bio search in end_sync_read()
authorNeilBrown <neilb@suse.de>
Fri, 7 Oct 2011 03:22:55 +0000 (14:22 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 7 Oct 2011 03:22:55 +0000 (14:22 +1100)
commit0fc280f606742e8a2969776b2ab11cf6a614d9e1
tree5725762cf7bc5eddcf0007584dfa7ba6eb67d3d8
parentba3ae3bee317f0a5db813c026c8a8c113a4e40fb
md/raid1/ avoid bio search in end_sync_read()

We know which device we just read from so we don't need to
search the bios to find out.  Just use ->read_disk.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid1.c