From: Oleg Nesterov Date: Thu, 23 Jan 2014 23:55:51 +0000 (-0800) Subject: exec: move the final allow_write_access/fput into free_bprm() X-Git-Tag: v3.14-rc1~108^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63e46b95e9eae1161832bf45cb40bbad37bfb182;p=pandora-kernel.git exec: move the final allow_write_access/fput into free_bprm() Both success/failure paths cleanup bprm->file, we can move this code into free_bprm() to simlify and cleanup this logic. Signed-off-by: Oleg Nesterov Acked-by: KOSAKI Motohiro Cc: Al Viro Acked-by: Kees Cook Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed