The patch titled Subject: kernel/fork.c: unexport get_{mm,task}_exe_file has been added to the -mm tree. Its filename is kernel-unexport-get_mmtask_exe_file.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/kernel-unexport-get_mmtask_exe_file.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/kernel-unexport-get_mmtask_exe_file.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Christoph Hellwig <hch@xxxxxx> Subject: kernel/fork.c: unexport get_{mm,task}_exe_file Only used by core code and the tomoyo which can't be a module either. Link: https://lkml.kernel.org/r/20210820095430.445242-1-hch@xxxxxx Signed-off-by: Christoph Hellwig <hch@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/fork.c | 2 -- 1 file changed, 2 deletions(-) --- a/kernel/fork.c~kernel-unexport-get_mmtask_exe_file +++ a/kernel/fork.c @@ -1238,7 +1238,6 @@ struct file *get_mm_exe_file(struct mm_s rcu_read_unlock(); return exe_file; } -EXPORT_SYMBOL(get_mm_exe_file); /** * get_task_exe_file - acquire a reference to the task's executable file @@ -1261,7 +1260,6 @@ struct file *get_task_exe_file(struct ta task_unlock(task); return exe_file; } -EXPORT_SYMBOL(get_task_exe_file); /** * get_task_mm - acquire a reference to the task's mm _ Patches currently in -mm which might be from hch@xxxxxx are mmc-jz4740-remove-the-flush_kernel_dcache_page-call-in-jz4740_mmc_read_data.patch mmc-mmc_spi-replace-flush_kernel_dcache_page-with-flush_dcache_page.patch scatterlist-replace-flush_kernel_dcache_page-with-flush_dcache_page.patch mm-remove-flush_kernel_dcache_page.patch proc-stop-using-seq_get_buf-in-proc_task_name.patch kernel-unexport-get_mmtask_exe_file.patch mm-unexport-folio_memcg_unlock.patch mm-unexport-unlock_page_memcg.patch