md: move code in to submit_flushes.
authorNeilBrown <neilb@suse.de>
Thu, 9 Dec 2010 05:04:25 +0000 (16:04 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 9 Dec 2010 05:04:25 +0000 (16:04 +1100)
commita7a07e69653acf8540daa1da053cd84bf86e8e66
treeedeb5ec7fc686c8699193338d3c3964aeb6279a8
parent2b74e12e567feb4163e32815bce0be57489e73b9
md: move code in to submit_flushes.

submit_flushes is called from exactly one place.
Move the code that is before and after that call into
submit_flushes.

This has not functional change, but will make the next patch
smaller and easier to follow.

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