Re: [PATCH V2 2/2] block: rename the local variable for holding return value of bio_iov_iter_nvecs

From
Hannes Reinecke <hare@suse.de>
Date
2020-12-03 06:48:02
Also in
linux-fsdevel
Reply to
Ming Lei, 2020-12-03
On 12/3/20 3:29 AM, Ming Lei wrote:
Now the local variable for holding return value of bio_iov_iter_nvecs is
'nr_pages', which is a bit misleading, and the actual meaning is number
of bio vectors, and it is also used for this way.

So rename the local variable, and no function change.

Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Christoph Hellwig <hch@infradead.org>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: <redacted>
Signed-off-by: Ming Lei <redacted>
---
  fs/block_dev.c       | 30 +++++++++++++++---------------
  fs/iomap/direct-io.c | 14 +++++++-------
  2 files changed, 22 insertions(+), 22 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare@suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
Thread (7 messages) 7 messages, 3 authors, last reply 2020-12-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help