]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/exec.c
fsnotify: place marks on object in order of group memory address
[mv-sheeva.git] / fs / exec.c
index e19de6a80339b3ceeae267283962f271ac6c5e55..f2de04a01a2aab15c58a44cb8076abf356c7061f 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -129,7 +129,7 @@ SYSCALL_DEFINE1(uselib, const char __user *, library)
        if (file->f_path.mnt->mnt_flags & MNT_NOEXEC)
                goto exit;
 
-       fsnotify_open(file->f_path.dentry);
+       fsnotify_open(file);
 
        error = -ENOEXEC;
        if(file->f_op) {
@@ -683,7 +683,7 @@ struct file *open_exec(const char *name)
        if (file->f_path.mnt->mnt_flags & MNT_NOEXEC)
                goto exit;
 
-       fsnotify_open(file->f_path.dentry);
+       fsnotify_open(file);
 
        err = deny_write_access(file);
        if (err)