]> git.baikalelectronics.ru Git - kernel.git/commit
switch do_filp_open() to struct open_flags
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 23 Feb 2011 22:44:09 +0000 (17:44 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 14 Mar 2011 13:15:25 +0000 (09:15 -0400)
commit9485ad5567b039c81e11d4e2f0d355b4db255f57
treeb596e0a1aadb1550ef2099df95832196cd0eeda1
parent8ac6d79662a3dfdeae7116ee00c7ec15030b783b
switch do_filp_open() to struct open_flags

take calculation of open_flags by open(2) arguments into new helper
in fs/open.c, move filp_open() over there, have it and do_sys_open()
use that helper, switch exec.c callers of do_filp_open() to explicit
(and constant) struct open_flags.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/exec.c
fs/internal.h
fs/namei.c
fs/open.c
include/linux/fs.h