]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/hpfs/dentry.c
Don't pass inode to ->d_hash() and ->d_compare()
[karo-tx-linux.git] / fs / hpfs / dentry.c
index 05d4816e4e774abd72e738c1d62761ceb824885f..fa27980f2229216c47c2378ce7431f18bd5a793e 100644 (file)
@@ -12,8 +12,7 @@
  * Note: the dentry argument is the parent dentry.
  */
 
-static int hpfs_hash_dentry(const struct dentry *dentry, const struct inode *inode,
-               struct qstr *qstr)
+static int hpfs_hash_dentry(const struct dentry *dentry, struct qstr *qstr)
 {
        unsigned long    hash;
        int              i;
@@ -35,9 +34,7 @@ static int hpfs_hash_dentry(const struct dentry *dentry, const struct inode *ino
        return 0;
 }
 
-static int hpfs_compare_dentry(const struct dentry *parent,
-               const struct inode *pinode,
-               const struct dentry *dentry, const struct inode *inode,
+static int hpfs_compare_dentry(const struct dentry *parent, const struct dentry *dentry,
                unsigned int len, const char *str, const struct qstr *name)
 {
        unsigned al = len;