]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/powerpc/oprofile/cell/spu_task_sync.c
shrink struct dentry
[net-next-2.6.git] / arch / powerpc / oprofile / cell / spu_task_sync.c
index 2949126d28d1f8c9f45bef32d45b96df86f959fa..6b793aeda72ea041ac2a68f1ca2e2ece7f46badc 100644 (file)
@@ -297,7 +297,7 @@ static inline unsigned long fast_get_dcookie(struct path *path)
 {
        unsigned long cookie;
 
-       if (path->dentry->d_cookie)
+       if (path->dentry->d_flags & DCACHE_COOKIE)
                return (unsigned long)path->dentry;
        get_dcookie(path, &cookie);
        return cookie;