diff mbox series

fuse: Remove stale comment in end_requests()

Message ID 154149570810.17385.8972245154860799219.stgit@localhost.localdomain (mailing list archive)
State New, archived
Headers show
Series fuse: Remove stale comment in end_requests() | expand

Commit Message

Kirill Tkhai Nov. 6, 2018, 9:15 a.m. UTC
Function end_requests() does not take fc->lock.

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

Patch

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