fs: change d_hash for rcu-walk
[cascardo/linux.git] / Documentation / filesystems / Locking
index 33fa3e5..a15ee20 100644 (file)
@@ -10,8 +10,11 @@ be able to use diff(1).
 --------------------------- dentry_operations --------------------------
 prototypes:
        int (*d_revalidate)(struct dentry *, int);
-       int (*d_hash) (struct dentry *, struct qstr *);
-       int (*d_compare) (struct dentry *, struct qstr *, 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 *);
        int (*d_delete)(struct dentry *);
        void (*d_release)(struct dentry *);
        void (*d_iput)(struct dentry *, struct inode *);
@@ -20,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