diff options
Diffstat (limited to 'fs/open.c')
| -rw-r--r-- | fs/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1033,7 +1033,7 @@ long do_sys_open(int dfd, const char __user *filename, int flags, int mode) | |||
| 1033 | if (!IS_ERR(tmp)) { | 1033 | if (!IS_ERR(tmp)) { |
| 1034 | fd = get_unused_fd_flags(flags); | 1034 | fd = get_unused_fd_flags(flags); |
| 1035 | if (fd >= 0) { | 1035 | if (fd >= 0) { |
| 1036 | struct file *f = do_filp_open(dfd, tmp, flags, mode); | 1036 | struct file *f = do_filp_open(dfd, tmp, flags, mode, 0); |
| 1037 | if (IS_ERR(f)) { | 1037 | if (IS_ERR(f)) { |
| 1038 | put_unused_fd(fd); | 1038 | put_unused_fd(fd); |
| 1039 | fd = PTR_ERR(f); | 1039 | fd = PTR_ERR(f); |
