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)
commit47c805dc2d2dff686962f5f0baa6bac2d703ba19
treeb596e0a1aadb1550ef2099df95832196cd0eeda1
parentc3e380b0b3cfa613189fb91513efd88a65e1d9d8
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