Continuation (porting from 2.6.22 -> 2.6.27)
[linux-2.6.git] / linux-2.6-591-chopstix-intern.patch
index 1013638..e3bc649 100644 (file)
@@ -268,8 +268,8 @@ diff -Nurb linux-2.6.27-590/fs/exec.c linux-2.6.27-591/fs/exec.c
 + #ifdef CONFIG_CHOPSTIX
 +    unsigned long cookie;
 +    extern void (*rec_event)(void *, unsigned int);
-+    if (rec_event && !nd.dentry->d_cookie)
-+        get_dcookie(nd.dentry, nd.mnt, &cookie);
++    if (rec_event && !nd.path.dentry->d_cookie)
++        get_dcookie(nd.path, &cookie);
 + #endif
 +
        return file;