[PATCH] fuse: Remove stale comment in end_requests()

From: Kirill Tkhai
Date: Tue Nov 06 2018 - 04:15:30 EST


Function end_requests() does not take fc->lock.

Signed-off-by: Kirill Tkhai <ktkhai@xxxxxxxxxxxxx>
---
fs/fuse/dev.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c
index 6fe330cc9709..fb2530ed84b3 100644
--- a/fs/fuse/dev.c
+++ b/fs/fuse/dev.c
@@ -2103,11 +2103,7 @@ static __poll_t fuse_dev_poll(struct file *file, poll_table *wait)
return mask;
}

-/*
- * Abort all requests on the given list (pending or processing)
- *
- * This function releases and reacquires fc->lock
- */
+/* Abort all requests on the given list (pending or processing) */
static void end_requests(struct fuse_conn *fc, struct list_head *head)
{
while (!list_empty(head)) {