From: NeilBrown Date: Thu, 9 Dec 2010 04:59:01 +0000 (+1100) Subject: md: remove handling of flush_pending in md_submit_flush_data X-Git-Tag: v2.6.37-rc6~7^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b74e12e567feb4163e32815bce0be57489e73b9;p=pandora-kernel.git 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 --- Reading git-diff-tree failed