shmem: move shmem_mapping out of line
shmem_aops really should not be exported to the world. Move shmem_mapping and export it as internal for the one semi-legitimate modular user in udmabuf. This effectively reverts commit 30e6a51d ("mm/shmem.c: make shmem_mapping() inline"). which added a bogus shmem_aops non-GPL export for no reason whatsoever as there as no shmem_mapping call outside of core MM code at that point. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
"Matthew Wilcox (Oracle)" <willy@infradead.org> Signed-off-by:
Chandan Babu R <chandanbabu@kernel.org>
Showing
Please register or sign in to comment