Commit 05da8113 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

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.deSigned-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6fcac87e
...@@ -1187,7 +1187,6 @@ struct file *get_mm_exe_file(struct mm_struct *mm) ...@@ -1187,7 +1187,6 @@ struct file *get_mm_exe_file(struct mm_struct *mm)
rcu_read_unlock(); rcu_read_unlock();
return exe_file; return exe_file;
} }
EXPORT_SYMBOL(get_mm_exe_file);
/** /**
* get_task_exe_file - acquire a reference to the task's executable 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) ...@@ -1210,7 +1209,6 @@ struct file *get_task_exe_file(struct task_struct *task)
task_unlock(task); task_unlock(task);
return exe_file; return exe_file;
} }
EXPORT_SYMBOL(get_task_exe_file);
/** /**
* get_task_mm - acquire a reference to the task's mm * get_task_mm - acquire a reference to the task's mm
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment