commit | 6e8341a11eb21826b7192d0bb88cb5b44900a9af | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Mon Apr 06 11:16:22 2009 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat May 09 10:49:42 2009 -0400 |
tree | f9e03050f0834c2c4a21f1e6a255b6b0d1262b25 | |
parent | a44ddbb6d8a8ffe4e34e417048dfdd8f3dd1de4f [diff] [blame] |
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>
diff --git a/fs/open.c b/fs/open.c index 377eb25..bdfbf03 100644 --- a/fs/open.c +++ b/fs/open.c
@@ -1033,7 +1033,7 @@ 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);