Skip to contentSkip to conversation

iomap: fix comments in iomap_dio_rw

PATCH In review yangerkun 3 participants 3 messages Mar 18, 2020

Subsystems (2)
lore
Share & tools
lore

yangerkun

author
#0 lore raw

PATCH 1/1 iomap: fix comments in iomap_dio_rw

Double 'three' exists in the comments of iomap_dio_rw.

---
 fs/iomap/direct-io.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/iomap/direct-io.c +2 -2
index 23837926c0c5..20dde5aadcdd 100644
@@ -534,8 +534,8 @@ iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter,
 
 	/*
 	 * We are about to drop our additional submission reference, which
-	 * might be the last reference to the dio.  There are three three
-	 * different ways we can progress here:
+	 * might be the last reference to the dio.  There are three different
+	 * ways we can progress here:
 	 *
 	 *  (a) If this is the last reference we will always complete and free
 	 *	the dio ourselves.
Signature · 1 line
2.17.2
Reviewed-by on v1 1/1
#2 lore raw
In reply to yangerkun
Quoted 3 lines · yangerkun

Double 'three' exists in the comments of iomap_dio_rw.

Looks good, will stage for 5.7...

--D

Quoted 22 lines
---
 fs/iomap/direct-io.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/iomap/direct-io.c +2 -2
index 23837926c0c5..20dde5aadcdd 100644
@@ -534,8 +534,8 @@ iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter,
 
 	/*
 	 * We are about to drop our additional submission reference, which
-	 * might be the last reference to the dio.  There are three three
-	 * different ways we can progress here:
+	 * might be the last reference to the dio.  There are three different
+	 * ways we can progress here:
 	 *
 	 *  (a) If this is the last reference we will always complete and free
 	 *	the dio ourselves.
Signature · 1 line
2.17.2