[2/8] fuse: Remove bogus list_del_init() from-fuse_request_send_background

Submitted by Kirill Tkhai on April 3, 2019, 3:37 p.m.

Details

Message ID 155430583137.24379.10838749745508265593.stgit@localhost.localdomain
State New
Series "fuse:Backport of ms locking patches part 2"
Headers show

Commit Message

Kirill Tkhai April 3, 2019, 3:37 p.m.
req can't be linked there.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
---
 fs/fuse/dev.c |    1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c
index 1ee112b1cd7e..1ffc10ff18ba 100644
--- a/fs/fuse/dev.c
+++ b/fs/fuse/dev.c
@@ -654,7 +654,6 @@  void fuse_request_send_background(struct fuse_conn *fc, struct fuse_req *req)
 		req->out.h.error = -EIO;
 		__clear_bit(FR_BACKGROUND, &req->flags);
 		__clear_bit(FR_PENDING, &req->flags);
-		list_del_init(&req->list);
 		spin_unlock(&fc->lock);
 		request_end(fc, req);
 	} else if (fc->connected) {