diff options
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -129,7 +129,7 @@ SYSCALL_DEFINE1(uselib, const char __user *, library) | |||
129 | if (file->f_path.mnt->mnt_flags & MNT_NOEXEC) | 129 | if (file->f_path.mnt->mnt_flags & MNT_NOEXEC) |
130 | goto exit; | 130 | goto exit; |
131 | 131 | ||
132 | fsnotify_open(file->f_path.dentry); | 132 | fsnotify_open(file); |
133 | 133 | ||
134 | error = -ENOEXEC; | 134 | error = -ENOEXEC; |
135 | if(file->f_op) { | 135 | if(file->f_op) { |
@@ -683,7 +683,7 @@ struct file *open_exec(const char *name) | |||
683 | if (file->f_path.mnt->mnt_flags & MNT_NOEXEC) | 683 | if (file->f_path.mnt->mnt_flags & MNT_NOEXEC) |
684 | goto exit; | 684 | goto exit; |
685 | 685 | ||
686 | fsnotify_open(file->f_path.dentry); | 686 | fsnotify_open(file); |
687 | 687 | ||
688 | err = deny_write_access(file); | 688 | err = deny_write_access(file); |
689 | if (err) | 689 | if (err) |