diff mbox series

iomap: fix comments in iomap_dio_rw

Message ID 20200318095022.5613-1-yangerkun@huawei.com (mailing list archive)
State New, archived
Headers show
Series iomap: fix comments in iomap_dio_rw | expand

Commit Message

yangerkun March 18, 2020, 9:50 a.m. UTC
Double 'three' exists in the comments of iomap_dio_rw.

Signed-off-by: yangerkun <yangerkun@huawei.com>
---
 fs/iomap/direct-io.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Christoph Hellwig March 18, 2020, 9:23 a.m. UTC | #1
On Wed, Mar 18, 2020 at 05:50:22PM +0800, yangerkun wrote:
> Double 'three' exists in the comments of iomap_dio_rw.
> 
> Signed-off-by: yangerkun <yangerkun@huawei.com>

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>
Darrick J. Wong March 18, 2020, 3:06 p.m. UTC | #2
On Wed, Mar 18, 2020 at 05:50:22PM +0800, yangerkun wrote:
> Double 'three' exists in the comments of iomap_dio_rw.
> 
> Signed-off-by: yangerkun <yangerkun@huawei.com>

Looks good, will stage for 5.7...
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>

--D

> ---
>  fs/iomap/direct-io.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/fs/iomap/direct-io.c b/fs/iomap/direct-io.c
> index 23837926c0c5..20dde5aadcdd 100644
> --- a/fs/iomap/direct-io.c
> +++ b/fs/iomap/direct-io.c
> @@ -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.
> -- 
> 2.17.2
>
diff mbox series

Patch

diff --git a/fs/iomap/direct-io.c b/fs/iomap/direct-io.c
index 23837926c0c5..20dde5aadcdd 100644
--- a/fs/iomap/direct-io.c
+++ b/fs/iomap/direct-io.c
@@ -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.