diff mbox series

fs/nfs/io.c: fix comment for nfs_start_io_write

Message ID 20250227084534.1997737-2-mana@schizo.vip (mailing list archive)
State Handled Elsewhere
Headers show
Series fs/nfs/io.c: fix comment for nfs_start_io_write | expand

Commit Message

Mary Natalia Feb. 27, 2025, 8:45 a.m. UTC
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 mbox series

Patch

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