[PATCH 4/4] xfs: rename mem_to_page to xfs_bufmem_to_page

Jeff Liu jeff.liu at oracle.com
Thu Dec 26 04:44:24 CST 2013


On 12/26 2013 18:08 PM, Christoph Hellwig wrote:
> On Tue, Dec 24, 2013 at 08:48:47PM +0800, Jeff Liu wrote:
>> From: Jie Liu <jeff.liu at oracle.com>
>>
>> Rename mem_to_page() to xfs_bufmem_to_page() for XFS convention.
> 
> There's nothing inherently buffere related in the function, it doesn't
> even take an argument related to buffers.
Well, I originally want to rename to xfs_buf_mem_to_page() by following
up other functions in this file with "xfs_buf_" prefix, something like
a typo...

Looks this routine can not be folded into xfs_buf_associate_memory()
without introducing another variable to hold the temporary type convert
value of pageaddr, so I'm fine if we remains the same.

Thanks,
-Jeff



More information about the xfs mailing list