diff options
author | Yuanhan Liu <yuanhan.liu@linux.intel.com> | 2013-02-19 21:16:01 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-26 02:46:13 -0500 |
commit | 9cc64ceaa8b8e8c874519caee79e18cb35d3ce3e (patch) | |
tree | dcd8bfe08da03fa4d5620cd637989caa305c9d04 /fs/exec.c | |
parent | b24ae0b54be4e46bb88398f29c5f79c5dad2a602 (diff) |
fs/exec.c: make bprm_mm_init() static
There is only one user of bprm_mm_init, and it's inside the same file.
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -355,7 +355,7 @@ static bool valid_arg_len(struct linux_binprm *bprm, long len) | |||
355 | * flags, permissions, and offset, so we use temporary values. We'll update | 355 | * flags, permissions, and offset, so we use temporary values. We'll update |
356 | * them later in setup_arg_pages(). | 356 | * them later in setup_arg_pages(). |
357 | */ | 357 | */ |
358 | int bprm_mm_init(struct linux_binprm *bprm) | 358 | static int bprm_mm_init(struct linux_binprm *bprm) |
359 | { | 359 | { |
360 | int err; | 360 | int err; |
361 | struct mm_struct *mm = NULL; | 361 | struct mm_struct *mm = NULL; |