get rid of 'parent' argument of ->d_compare()
[linux-block.git] / fs / adfs / dir.c
index bec25f7017c0baa95444edbef2a886d7a3467bf3..c30a5a65cbb50cab282845abb36cc4cbc9ac8c26 100644 (file)
@@ -227,7 +227,7 @@ adfs_hash(const struct dentry *parent, struct qstr *qstr)
  * requirements of the underlying filesystem.
  */
 static int
-adfs_compare(const struct dentry *parent, const struct dentry *dentry,
+adfs_compare(const struct dentry *dentry,
                unsigned int len, const char *str, const struct qstr *name)
 {
        int i;