]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: make mapping_get_entry available outside of filemap.c
authorChristoph Hellwig <hch@lst.de>
Tue, 7 Mar 2023 14:34:05 +0000 (15:34 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 28 Mar 2023 23:24:57 +0000 (16:24 -0700)
commit183e8df6a9bebd092a0770edf96c946209b53fd4
tree5ba98107945297d3b77af62b75ef8f2e62e54c73
parent0b24d402029a934d7f537d27e8b28d12f6de3e43
mm: make mapping_get_entry available outside of filemap.c

mapping_get_entry is useful for page cache API users that need to know
about xa_value internals.  Rename it and make it available in pagemap.h.

Link: https://lkml.kernel.org/r/20230307143410.28031-3-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Andreas Gruenbacher <agruenba@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/pagemap.h
mm/filemap.c