[PATCH] fs/nfs/io.c: fix comment for nfs_start_io_write

Mary Natalia posted 1 patch 9 months, 3 weeks ago
fs/nfs/io.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] fs/nfs/io.c: fix comment for nfs_start_io_write
Posted by Mary Natalia 9 months, 3 weeks ago
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>