NeilBrown 2b74e12e56 md: remove handling of flush_pending in md_submit_flush_data
None of the functions called between setting flush_pending to 1, and
atomic_dec_and_test can change flush_pending, or will anything
running in any other thread (as ->flush_bio is not NULL).  So the
atomic_dec_and_test will always succeed.
So remove the atomic_sec and the atomic_dec_and_test.

Signed-off-by: NeilBrown <neilb@suse.de>
2010-12-09 15:59:01 +11:00
..
2010-11-16 13:33:23 -08:00
2010-10-29 00:29:51 +02:00
2010-11-16 13:33:23 -08:00
2010-10-30 08:31:35 -07:00
2010-11-12 07:55:30 -08:00