diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-07-24 17:27:07 -0700 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-10 21:56:03 -0800 |
commit | e8e1d4682c8cb06dbcb5ef7bb851bf9bcb889c84 (patch) | |
tree | 8e2287b8e21ccb51518b7e2e9d54ab9b4714b7bb /drivers/md/bcache/bcache.h | |
parent | 0b93207abb40d3c42bb83eba1e1e7edc1da77810 (diff) | |
download | blackbird-op-linux-e8e1d4682c8cb06dbcb5ef7bb851bf9bcb889c84.tar.gz blackbird-op-linux-e8e1d4682c8cb06dbcb5ef7bb851bf9bcb889c84.zip |
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 { * basically a lock for this that we can wait on asynchronously. The * btree_root() macro releases the lock when it returns. */ - struct closure *try_harder; - struct closure_waitlist try_wait; + struct task_struct *try_harder; + wait_queue_head_t try_wait; uint64_t try_harder_start; /* |