[PATCH 4/4] xfs: rename mem_to_page to xfs_bufmem_to_page
Jeff Liu
jeff.liu at oracle.com
Tue Dec 24 06:48:47 CST 2013
From: Jie Liu <jeff.liu at oracle.com>
Rename mem_to_page() to xfs_bufmem_to_page() for XFS convention.
Signed-off-by: Jie Liu <jeff.liu at oracle.com>
---
fs/xfs/xfs_buf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c
index 544315e..286ddbe 100644
--- a/fs/xfs/xfs_buf.c
+++ b/fs/xfs/xfs_buf.c
@@ -732,8 +732,8 @@ xfs_buf_set_empty(
}
static inline struct page *
-mem_to_page(
- void *addr)
+xfs_bufmem_to_page(
+ void *addr)
{
if ((!is_vmalloc_addr(addr))) {
return virt_to_page(addr);
@@ -774,7 +774,7 @@ xfs_buf_associate_memory(
bp->b_offset = offset;
for (i = 0; i < bp->b_page_count; i++) {
- bp->b_pages[i] = mem_to_page((void *)pageaddr);
+ bp->b_pages[i] = xfs_bufmem_to_page((void *)pageaddr);
pageaddr += PAGE_SIZE;
}
--
1.8.3.2
More information about the xfs
mailing list