From c19ed23a0b1848eca6b6f22c1ee233abe54d37f9 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Tue, 26 Mar 2013 13:49:02 -0700 Subject: bcache: Sparse fixes Signed-off-by: Kent Overstreet --- drivers/md/bcache/journal.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/md/bcache/journal.c') diff --git a/drivers/md/bcache/journal.c b/drivers/md/bcache/journal.c index b0a3d0577d13..8c8dfdcd9d4c 100644 --- a/drivers/md/bcache/journal.c +++ b/drivers/md/bcache/journal.c @@ -563,6 +563,7 @@ static void journal_write_done(struct closure *cl) } static void journal_write_unlocked(struct closure *cl) + __releases(c->journal.lock) { struct cache_set *c = container_of(cl, struct cache_set, journal.io.cl); struct cache *ca; @@ -652,6 +653,7 @@ static void journal_write(struct closure *cl) } static void __journal_try_write(struct cache_set *c, bool noflush) + __releases(c->journal.lock) { struct closure *cl = &c->journal.io.cl; -- cgit v1.2.3