aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fuse/dev.c')
-rw-r--r--fs/fuse/dev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c
index ebc36f525eee..9c9e35e42bfd 100644
--- a/fs/fuse/dev.c
+++ b/fs/fuse/dev.c
@@ -129,7 +129,7 @@ static struct fuse_req *get_reserved_req(struct fuse_conn *fc,
129 struct fuse_file *ff = file->private_data; 129 struct fuse_file *ff = file->private_data;
130 130
131 do { 131 do {
132 wait_event(fc->blocked_waitq, ff->reserved_req); 132 wait_event(fc->reserved_req_waitq, ff->reserved_req);
133 spin_lock(&fc->lock); 133 spin_lock(&fc->lock);
134 if (ff->reserved_req) { 134 if (ff->reserved_req) {
135 req = ff->reserved_req; 135 req = ff->reserved_req;
@@ -155,7 +155,7 @@ static void put_reserved_req(struct fuse_conn *fc, struct fuse_req *req)
155 fuse_request_init(req); 155 fuse_request_init(req);
156 BUG_ON(ff->reserved_req); 156 BUG_ON(ff->reserved_req);
157 ff->reserved_req = req; 157 ff->reserved_req = req;
158 wake_up(&fc->blocked_waitq); 158 wake_up_all(&fc->reserved_req_waitq);
159 spin_unlock(&fc->lock); 159 spin_unlock(&fc->lock);
160 fput(file); 160 fput(file);
161} 161}