[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250227084534.1997737-2-mana@schizo.vip>
Date: Thu, 27 Feb 2025 00:45:27 -0800
From: Mary Natalia <mana@...izo.vip>
To: anna@...nel.org
Cc: Mary Natalia <mana@...izo.vip>,
Trond Myklebust <trondmy@...nel.org>,
linux-nfs@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] fs/nfs/io.c: fix comment for nfs_start_io_write
the doc comment for nfs_start_io_write incorrectly indicates that
the function is used for preparing for buffered read operations.
---
fs/nfs/io.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/nfs/io.c b/fs/nfs/io.c
index 3388faf2acb9..71befe161506 100644
--- a/fs/nfs/io.c
+++ b/fs/nfs/io.c
@@ -80,7 +80,7 @@ nfs_end_io_read(struct inode *inode)
* nfs_start_io_write - declare the file is being used for buffered writes
* @inode: file inode
*
- * Declare that a buffered read operation is about to start, and ensure
+ * Declare that a buffered write operation is about to start, and ensure
* that we block all direct I/O.
*/
int
--
2.48.1
Signed-off-by: Mary Natalia <mana@...izo.vip>
Powered by blists - more mailing lists