md/raid10: factor out common bio handling code
authorNamhyung Kim <namhyung@gmail.com>
Mon, 18 Jul 2011 07:38:47 +0000 (17:38 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 18 Jul 2011 07:38:47 +0000 (17:38 +1000)
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