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>
This commit is contained in:
@@ -355,7 +355,7 @@ static bool valid_arg_len(struct linux_binprm *bprm, long len)
|
||||
* flags, permissions, and offset, so we use temporary values. We'll update
|
||||
* them later in setup_arg_pages().
|
||||
*/
|
||||
int bprm_mm_init(struct linux_binprm *bprm)
|
||||
static int bprm_mm_init(struct linux_binprm *bprm)
|
||||
{
|
||||
int err;
|
||||
struct mm_struct *mm = NULL;
|
||||
|
Reference in New Issue
Block a user