diff options
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -128,7 +128,7 @@ SYSCALL_DEFINE1(uselib, const char __user *, library) | |||
128 | if (file->f_path.mnt->mnt_flags & MNT_NOEXEC) | 128 | if (file->f_path.mnt->mnt_flags & MNT_NOEXEC) |
129 | goto exit; | 129 | goto exit; |
130 | 130 | ||
131 | fsnotify_open(file->f_path.dentry); | 131 | fsnotify_open(file); |
132 | 132 | ||
133 | error = -ENOEXEC; | 133 | error = -ENOEXEC; |
134 | if(file->f_op) { | 134 | 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) |