Commit 73e0e738 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

fuse: reset waiting

Reset req->waiting in fuse_put_request().  This is needed for correct
accounting in fc->num_waiting for reserved requests.
Signed-off-by: default avatarMiklos Szeredi <>
parent 42dc6211
......@@ -287,8 +287,10 @@ void fuse_put_request(struct fuse_conn *fc, struct fuse_req *req)
if (req->waiting)
if (req->waiting) {
req->waiting = 0;
if (req->stolen_file)
put_reserved_req(fc, req);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment