diff options
author | Kent Overstreet <koverstreet@google.com> | 2013-03-26 16:49:02 -0400 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-04-08 16:33:48 -0400 |
commit | c19ed23a0b1848eca6b6f22c1ee233abe54d37f9 (patch) | |
tree | 331a73cb1e6a5e1dc64ab3756dba779cf8a294a5 /drivers/md/bcache/journal.c | |
parent | 169ef1cf6171d35550fef85645b83b960e241cff (diff) |
bcache: Sparse fixes
Signed-off-by: Kent Overstreet <koverstreet@google.com>
Diffstat (limited to 'drivers/md/bcache/journal.c')
-rw-r--r-- | drivers/md/bcache/journal.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
563 | } | 563 | } |
564 | 564 | ||
565 | static void journal_write_unlocked(struct closure *cl) | 565 | static void journal_write_unlocked(struct closure *cl) |
566 | __releases(c->journal.lock) | ||
566 | { | 567 | { |
567 | struct cache_set *c = container_of(cl, struct cache_set, journal.io.cl); | 568 | struct cache_set *c = container_of(cl, struct cache_set, journal.io.cl); |
568 | struct cache *ca; | 569 | struct cache *ca; |
@@ -652,6 +653,7 @@ static void journal_write(struct closure *cl) | |||
652 | } | 653 | } |
653 | 654 | ||
654 | static void __journal_try_write(struct cache_set *c, bool noflush) | 655 | static void __journal_try_write(struct cache_set *c, bool noflush) |
656 | __releases(c->journal.lock) | ||
655 | { | 657 | { |
656 | struct closure *cl = &c->journal.io.cl; | 658 | struct closure *cl = &c->journal.io.cl; |
657 | 659 | ||