From: NeilBrown Date: Tue, 20 Nov 2012 03:11:15 +0000 (+1100) Subject: md/raid5: use async_tx_quiesce() instead of open-coding it. X-Git-Tag: v3.8-rc1~73^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=749586b7d34df910118bff2c248d08877d772e81;p=pandora-kernel.git md/raid5: use async_tx_quiesce() instead of open-coding it. handle_stripe_expansion contains: if (tx) { async_tx_ack(tx); dma_wait_for_async_tx(tx); } which is very similar to the body of async_tx_quiesce(), except that the later handles an error from dma_wait_for_async_tx() (admittedly by panicing, but that decision belongs in the dma code, not the md code). So just us async_tx_quiesce(). Acked-by: Dan Williams Reported-by: Bartlomiej Zolnierkiewicz Signed-off-by: NeilBrown --- Reading git-diff-tree failed