Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

simplify the callers of do_open_execat()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro 2c941f26 47b3b9bf

+2 -8
+2 -8
fs/exec.c
··· 815 815 */ 816 816 struct file *open_exec(const char *name) 817 817 { 818 - struct filename *filename = getname_kernel(name); 819 - struct file *f = ERR_CAST(filename); 820 - 821 - if (!IS_ERR(filename)) { 822 - f = do_open_execat(AT_FDCWD, filename, 0); 823 - putname(filename); 824 - } 825 - return f; 818 + CLASS(filename_kernel, filename)(name); 819 + return do_open_execat(AT_FDCWD, filename, 0); 826 820 } 827 821 EXPORT_SYMBOL(open_exec); 828 822