aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/bcache/btree.h')
-rw-r--r--drivers/md/bcache/btree.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/bcache/btree.h b/drivers/md/bcache/btree.h
index 5c391fa01bed..9b80417cd547 100644
--- a/drivers/md/bcache/btree.h
+++ b/drivers/md/bcache/btree.h
@@ -260,8 +260,7 @@ void bch_initial_mark_key(struct cache_set *, int, struct bkey *);
260 260
261static inline void wake_up_gc(struct cache_set *c) 261static inline void wake_up_gc(struct cache_set *c)
262{ 262{
263 if (c->gc_thread) 263 wake_up(&c->gc_wait);
264 wake_up_process(c->gc_thread);
265} 264}
266 265
267#define MAP_DONE 0 266#define MAP_DONE 0