diff options
author | Kent Overstreet <kmo@daterainc.com> | 2014-02-20 04:48:26 +0100 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2014-02-26 03:42:49 +0100 |
commit | dabb44334060b4b84051b34c58573e57cc7432b2 (patch) | |
tree | 7372c3f3d4d6309c4ee4214494f93c6e7fcc3d58 /drivers/md/bcache/journal.h | |
parent | bcache: Fix flash_dev_cache_miss() for real this time (diff) | |
download | linux-dabb44334060b4b84051b34c58573e57cc7432b2.tar.xz linux-dabb44334060b4b84051b34c58573e57cc7432b2.zip |
bcache: Fix a shutdown bug
Shutdown wasn't cancelling/waiting on journal_write_work()
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers/md/bcache/journal.h')
-rw-r--r-- | drivers/md/bcache/journal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/bcache/journal.h b/drivers/md/bcache/journal.h index 9180c4465075..e3c39457afbb 100644 --- a/drivers/md/bcache/journal.h +++ b/drivers/md/bcache/journal.h @@ -95,6 +95,7 @@ struct journal_write { struct cache_set *c; struct closure_waitlist wait; + bool dirty; bool need_write; }; |