]> asedeno.scripts.mit.edu Git - linux.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)
commit72945d86ddec143ee5064f36eae4b48b03ea1a3f
tree971c0ac3ccbecfec6aac4086a9f45848f680d6fd
parentce89755cdfeaa0073341f8b5d07caff4fa9fc316
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