From dabb44334060b4b84051b34c58573e57cc7432b2 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Wed, 19 Feb 2014 19:48:26 -0800 Subject: bcache: Fix a shutdown bug Shutdown wasn't cancelling/waiting on journal_write_work() Signed-off-by: Kent Overstreet --- drivers/md/bcache/journal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/md/bcache/journal.h') 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; }; -- cgit v1.2.3