Skip to contentSkip to conversation

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

PATCH New Mary Natalia 1 participant 1 message Feb 27, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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(-)
fs/nfs/io.c +1 -1
index 3388faf2acb9..71befe161506 100644
@@ -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
Signature · 3 lines
2.48.1

Signed-off-by: Mary Natalia <[email protected]>