md/raid1: factor out common bio handling code
authorNamhyung Kim <namhyung@gmail.com>
Fri, 7 Oct 2011 03:22:53 +0000 (14:22 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 7 Oct 2011 03:22:53 +0000 (14:22 +1100)
When normal-write and sync-read/write bio completes, we should
find out the disk number the bio belongs to. Factor those common
code out to a separate function.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>

No differences found