]> git.ipfire.org Git - thirdparty/linux.git/commit - mm/filemap.c
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>
Thu, 6 Apr 2023 02:42:41 +0000 (19:42 -0700)
commit263e721e3ba1f3b42ad61aed3d504f3c8c9c0eb6
tree80a293ee607d0471b2846cc8f5107385abeb5af0
parent1fb130b226a6385362899381e0025ba413cb27e6
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