]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/sysv/namei.c
Don't pass inode to ->d_hash() and ->d_compare()
[karo-tx-linux.git] / fs / sysv / namei.c
index 1c0d5f264767df5ebc7bf0dc77a0267b097a4052..731b2bbcaab37f7e8d4da84dcc9e9600d3b4e969 100644 (file)
@@ -27,8 +27,7 @@ static int add_nondir(struct dentry *dentry, struct inode *inode)
        return err;
 }
 
-static int sysv_hash(const struct dentry *dentry, const struct inode *inode,
-               struct qstr *qstr)
+static int sysv_hash(const struct dentry *dentry, struct qstr *qstr)
 {
        /* Truncate the name in place, avoids having to define a compare
           function. */