* Compute the hash for the isofs name corresponding to the dentry.
  */
 static int
-isofs_hash_common(const struct dentry *dentry, struct qstr *qstr, int ms)
+isofs_hash_common(struct qstr *qstr, int ms)
 {
        const char *name;
        int len;
  * Compute the hash for the isofs name corresponding to the dentry.
  */
 static int
-isofs_hashi_common(const struct dentry *dentry, struct qstr *qstr, int ms)
+isofs_hashi_common(struct qstr *qstr, int ms)
 {
        const char *name;
        int len;
 static int
 isofs_hash(const struct dentry *dentry, struct qstr *qstr)
 {
-       return isofs_hash_common(dentry, qstr, 0);
+       return isofs_hash_common(qstr, 0);
 }
 
 static int
 isofs_hashi(const struct dentry *dentry, struct qstr *qstr)
 {
-       return isofs_hashi_common(dentry, qstr, 0);
+       return isofs_hashi_common(qstr, 0);
 }
 
 static int
 static int
 isofs_hash_ms(const struct dentry *dentry, struct qstr *qstr)
 {
-       return isofs_hash_common(dentry, qstr, 1);
+       return isofs_hash_common(qstr, 1);
 }
 
 static int
 isofs_hashi_ms(const struct dentry *dentry, struct qstr *qstr)
 {
-       return isofs_hashi_common(dentry, qstr, 1);
+       return isofs_hashi_common(qstr, 1);
 }
 
 static int