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

Kirill Tkhai ktkhai at virtuozzo.com
Wed Apr 3 18:37:11 MSK 2019


req can't be linked there.

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

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) {



More information about the Devel mailing list