diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-07-24 20:27:07 -0400 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-11 00:56:03 -0500 |
commit | e8e1d4682c8cb06dbcb5ef7bb851bf9bcb889c84 (patch) | |
tree | 8e2287b8e21ccb51518b7e2e9d54ab9b4714b7bb /drivers/md/bcache/bcache.h | |
parent | 0b93207abb40d3c42bb83eba1e1e7edc1da77810 (diff) |
bcache: Convert try_wait to wait_queue_head_t
We never waited on c->try_wait asynchronously, so just use the standard
primitives.
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers/md/bcache/bcache.h')
-rw-r--r-- | drivers/md/bcache/bcache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/bcache/bcache.h b/drivers/md/bcache/bcache.h index 10ce0c825fce..c1c44191afb1 100644 --- a/drivers/md/bcache/bcache.h +++ b/drivers/md/bcache/bcache.h | |||
@@ -735,8 +735,8 @@ struct cache_set { | |||
735 | * basically a lock for this that we can wait on asynchronously. The | 735 | * basically a lock for this that we can wait on asynchronously. The |
736 | * btree_root() macro releases the lock when it returns. | 736 | * btree_root() macro releases the lock when it returns. |
737 | */ | 737 | */ |
738 | struct closure *try_harder; | 738 | struct task_struct *try_harder; |
739 | struct closure_waitlist try_wait; | 739 | wait_queue_head_t try_wait; |
740 | uint64_t try_harder_start; | 740 | uint64_t try_harder_start; |
741 | 741 | ||
742 | /* | 742 | /* |