fs: change d_hash for rcu-walk
[pandora-kernel.git] / Documentation / filesystems / Locking
index 9a76f8d..a15ee20 100644 (file)
@@ -10,7 +10,8 @@ be able to use diff(1).
 --------------------------- dentry_operations --------------------------
 prototypes:
        int (*d_revalidate)(struct dentry *, int);
-       int (*d_hash) (struct dentry *, struct qstr *);
+       int (*d_hash)(const struct dentry *, const struct inode *,
+                       struct qstr *);
        int (*d_compare)(const struct dentry *, const struct inode *,
                        const struct dentry *, const struct inode *,
                        unsigned int, const char *, const struct qstr *);
@@ -22,7 +23,7 @@ prototypes:
 locking rules:
                dcache_lock     rename_lock     ->d_lock        may block
 d_revalidate:  no              no              no              yes
-d_hash         no              no              no              yes
+d_hash         no              no              no              no
 d_compare:     no              yes             no              no 
 d_delete:      yes             no              yes             no
 d_release:     no              no              no              yes