]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: make mem_to_page available outside of xfs_buf.c
authorChristoph Hellwig <hch@lst.de>
Sat, 29 Jun 2019 02:27:19 +0000 (19:27 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 29 Jun 2019 02:27:19 +0000 (19:27 -0700)
commit8c6c65766630f6ce2066da85285549199f6adb8e
tree971c0ac3ccbecfec6aac4086a9f45848f680d6fd
parent235cc12dd196ea76ebb8a3c0a7e92956d5efb6ee
xfs: make mem_to_page available outside of xfs_buf.c

Rename the function to kmem_to_page and move it to kmem.h together
with our kmem_large allocator that may either return kmalloced or
vmalloc pages.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/kmem.h
fs/xfs/xfs_buf.c