[PATCH v8 07/25] mm: Rename various 'offset' parameters to 'index'

Zi Yan ziy at nvidia.com
Thu Feb 27 04:13:30 AEDT 2020


On 25 Feb 2020, at 16:48, Matthew Wilcox wrote:

> From: "Matthew Wilcox (Oracle)" <willy at infradead.org>
>
> The word 'offset' is used ambiguously to mean 'byte offset within
> a page', 'byte offset from the start of the file' and 'page offset
> from the start of the file'.  Use 'index' to mean 'page offset
> from the start of the file' throughout the readahead code.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy at infradead.org>

Looks good to me.

Reviewed-by: Zi Yan <ziy at nvidia.com>

—
Best Regards,
Yan Zi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 854 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ozlabs.org/pipermail/linux-erofs/attachments/20200226/83dc5127/attachment.sig>


More information about the Linux-erofs mailing list