diff options
author | Christoph Hellwig <hch@lst.de> | 2021-09-07 20:00:35 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-08 11:50:28 -0700 |
commit | 05da8113c9ba63a8913e6c73dc06ed01cae55f68 (patch) | |
tree | 53940d47a395851b154b20d6f159635835617e92 /kernel | |
parent | 6fcac87e1f9e5b27805a2a404f4849194bb51de8 (diff) | |
download | linux-05da8113c9ba63a8913e6c73dc06ed01cae55f68.tar.gz linux-05da8113c9ba63a8913e6c73dc06ed01cae55f68.tar.bz2 linux-05da8113c9ba63a8913e6c73dc06ed01cae55f68.zip |
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@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 44f4c2d83763..df7296474ecd 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1187,7 +1187,6 @@ struct file *get_mm_exe_file(struct mm_struct *mm) 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 @@ -1210,7 +1209,6 @@ struct file *get_task_exe_file(struct task_struct *task) task_unlock(task); return exe_file; } -EXPORT_SYMBOL(get_task_exe_file); /** * get_task_mm - acquire a reference to the task's mm |