Home
last modified time | relevance | path

Searched hist:f431d9666fd6e69fbaf305cebc7278d1428950c2 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm.cdiff f431d9666fd6e69fbaf305cebc7278d1428950c2 Tue Oct 21 11:45:07 CDT 2008 Kiyoshi Ueda <k-ueda@ct.jp.nec.com> 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 <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>