diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-04-06 17:16:22 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-05-09 16:49:42 +0200 |
commit | 6e8341a11eb21826b7192d0bb88cb5b44900a9af (patch) | |
tree | f9e03050f0834c2c4a21f1e6a255b6b0d1262b25 /fs/open.c | |
parent | Make open_exec() and sys_uselib() use may_open(), instead of duplicating its ... (diff) | |
download | linux-6e8341a11eb21826b7192d0bb88cb5b44900a9af.tar.xz linux-6e8341a11eb21826b7192d0bb88cb5b44900a9af.zip |
Switch open_exec() and sys_uselib() to do_open_filp()
... and make path_lookup_open() static
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/open.c b/fs/open.c index 377eb25b6abf..bdfbf03615a4 100644 --- a/fs/open.c +++ b/fs/open.c @@ -1033,7 +1033,7 @@ long do_sys_open(int dfd, const char __user *filename, int flags, int mode) if (!IS_ERR(tmp)) { fd = get_unused_fd_flags(flags); if (fd >= 0) { - struct file *f = do_filp_open(dfd, tmp, flags, mode); + struct file *f = do_filp_open(dfd, tmp, flags, mode, 0); if (IS_ERR(f)) { put_unused_fd(fd); fd = PTR_ERR(f); |