From f431d9666fd6e69fbaf305cebc7278d1428950c2 Mon Sep 17 00:00:00 2001 From: Kiyoshi Ueda Date: Tue, 21 Oct 2008 17:45:07 +0100 Subject: [PATCH] dm: remove unused flush_all This patch removes the DM_WQ_FLUSH_ALL state that is unnecessary. The dm_queue_flush(md, DM_WQ_FLUSH_ALL, NULL) in dm_suspend() is never invoked because: - 'goto flush_and_out' is the same as 'goto out' because the 'goto flush_and_out' is called only when '!noflush' - If r is non-zero, then the code above will invoke 'goto out' and skip this code. No functional change. Signed-off-by: Kiyoshi Ueda Signed-off-by: Jun'ichi Nomura Signed-off-by: Milan Broz Signed-off-by: Alasdair G Kergon --- Reading git-format-patch failed