Skip to content

Commit 05da811

Browse files
Christoph Hellwigtorvalds
authored andcommitted
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/[email protected] Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 6fcac87 commit 05da811

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

kernel/fork.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,6 @@ struct file *get_mm_exe_file(struct mm_struct *mm)
11871187
rcu_read_unlock();
11881188
return exe_file;
11891189
}
1190-
EXPORT_SYMBOL(get_mm_exe_file);
11911190

11921191
/**
11931192
* 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)
12101209
task_unlock(task);
12111210
return exe_file;
12121211
}
1213-
EXPORT_SYMBOL(get_task_exe_file);
12141212

12151213
/**
12161214
* get_task_mm - acquire a reference to the task's mm

0 commit comments

Comments
 (0)