2019-11-13 15:24:34

by Xianting Tian

[permalink] [raw]
Subject: [PATCH] block: Fix the typo in comment of function deadline_latter_request

Fix the typo "`" to "'"

Signed-off-by: Xianting Tian <[email protected]>
---
block/mq-deadline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block/mq-deadline.c b/block/mq-deadline.c
index b490f47..6047192 100644
--- a/block/mq-deadline.c
+++ b/block/mq-deadline.c
@@ -71,7 +71,7 @@ struct deadline_data {
}

/*
- * get the request after `rq' in sector-sorted order
+ * get the request after 'rq' in sector-sorted order
*/
static inline struct request *
deadline_latter_request(struct request *rq)
--
1.8.3.1


2019-11-13 18:57:48

by Bart Van Assche

[permalink] [raw]
Subject: Re: [PATCH] block: Fix the typo in comment of function deadline_latter_request

On 11/13/19 7:21 AM, Xianting Tian wrote:
> Fix the typo "`" to "'"
>
> Signed-off-by: Xianting Tian <[email protected]>
> ---
> block/mq-deadline.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/block/mq-deadline.c b/block/mq-deadline.c
> index b490f47..6047192 100644
> --- a/block/mq-deadline.c
> +++ b/block/mq-deadline.c
> @@ -71,7 +71,7 @@ struct deadline_data {
> }
>
> /*
> - * get the request after `rq' in sector-sorted order
> + * get the request after 'rq' in sector-sorted order
> */
> static inline struct request *
> deadline_latter_request(struct request *rq)
>

I'm not sure that's a typo. I think that's a common style for quoting text.

Bart.