Linux NFS development
 help / color / mirror / Atom feed
* [PATCH] fs/nfs/io.c: fix comment for nfs_start_io_write
@ 2025-02-27  8:45 Mary Natalia
  0 siblings, 0 replies; only message in thread
From: Mary Natalia @ 2025-02-27  8:45 UTC (permalink / raw)
  To: anna; +Cc: Mary Natalia, Trond Myklebust, linux-nfs, linux-kernel

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@schizo.vip>

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-02-27  8:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27  8:45 [PATCH] fs/nfs/io.c: fix comment for nfs_start_io_write Mary Natalia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox