diff options
author | Kiyoshi Ueda <k-ueda@ct.jp.nec.com> | 2008-10-21 18:45:07 +0200 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2008-10-21 18:45:07 +0200 |
commit | f431d9666fd6e69fbaf305cebc7278d1428950c2 (patch) | |
tree | ebd0e7c5deb3e6782f0de657223d071bc11b1983 /drivers/md/Kconfig | |
parent | dm raid1: separate region_hash interface part1 (diff) | |
download | linux-f431d9666fd6e69fbaf305cebc7278d1428950c2.tar.xz linux-f431d9666fd6e69fbaf305cebc7278d1428950c2.zip |
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>
Diffstat (limited to 'drivers/md/Kconfig')
0 files changed, 0 insertions, 0 deletions