The patch titled fs/exec.c: export free_arg_pages has been removed from the -mm tree. Its filename was fs-execc-export-free_arg_pages.patch This patch was dropped because it was nacked The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: fs/exec.c: export free_arg_pages From: WANG Cong <xiyou.wangcong@xxxxxxxxx> free_arg_pages() is used to clean the pages allocated by copy_strings_kenrel(). Since copy_strings_kernel() is exported, so should be free_arg_pages(). Signed-off-by: WANG Cong <wangcong@xxxxxxxxx> Cc: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/exec.c | 6 ++++-- include/linux/binfmts.h | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff -puN fs/exec.c~fs-execc-export-free_arg_pages fs/exec.c --- a/fs/exec.c~fs-execc-export-free_arg_pages +++ a/fs/exec.c @@ -210,7 +210,7 @@ static void free_arg_page(struct linux_b { } -static void free_arg_pages(struct linux_binprm *bprm) +void free_arg_pages(struct linux_binprm *bprm) { } @@ -301,7 +301,7 @@ static void free_arg_page(struct linux_b } } -static void free_arg_pages(struct linux_binprm *bprm) +void free_arg_pages(struct linux_binprm *bprm) { int i; @@ -327,6 +327,8 @@ static bool valid_arg_len(struct linux_b #endif /* CONFIG_MMU */ +EXPORT_SYMBOL(free_arg_pages); + /* * Create a new mm_struct and populate it with a temporary stack * vm_area_struct. We don't have enough context at this point to set the stack diff -puN include/linux/binfmts.h~fs-execc-export-free_arg_pages include/linux/binfmts.h --- a/include/linux/binfmts.h~fs-execc-export-free_arg_pages +++ a/include/linux/binfmts.h @@ -96,6 +96,7 @@ extern int setup_arg_pages(struct linux_ int executable_stack); extern int bprm_mm_init(struct linux_binprm *bprm); extern int copy_strings_kernel(int argc,char ** argv,struct linux_binprm *bprm); +extern void free_arg_pages(struct linux_binprm *bprm); extern void compute_creds(struct linux_binprm *binprm); extern int do_coredump(long signr, int exit_code, struct pt_regs * regs); extern int set_binfmt(struct linux_binfmt *new); _ Patches currently in -mm which might be from xiyou.wangcong@xxxxxxxxx are origin.patch uml-redo-host-capability-detection-and-disabling.patch uml-style-fixes.patch uml-hppfs-fixes.patch uml-move-hppfs_kernc-to-hppfsc.patch uml-tidy-ptrace-interface.patch uml-fix-errno-return.patch uml-fix-build-when-slob-is-enabled.patch uml-remove-unused-header.patch uml-fix-bad-ntp-interaction-with-clock.patch uml-use-__spin_lock_unlocked.patch uml-fix-config_raw-dependencies.patch uml-use-div_round_up.patch uml-use-page_size-in-linker-scripts.patch uml-physical-memory-shouldnt-include-initial-stack.patch fs-binfmt_elfc-fix-a-wrong-free.patch cpumask-remove-bitmap_scnprintf_len-and-cpumask_scnprintf_len.patch arch-um-kernel-irqc-clean-up-some-functions.patch arch-um-kernel-memc-remove-arch_validate.patch uml-make-several-more-things-static.patch fs-execc-export-free_arg_pages.patch fs-execc-fix-resource-leaks-and-wrong-gotos.patch fs-compatc-fix-resource-leaks-and-wrong-gotos.patch fs-binfmt_scriptc-fix-resource-leaks.patch fs-binfmt_em86c-fix-resource-leaks.patch fs-binfmt_miscc-fix-resource-leaks.patch fs-execc-fix-wrong-return-value-of-prepare_binprm.patch fs-binfmt_elfc-fix-wrong-return-values.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html