VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   35 Branches   59 Tags
author: Al Viro <viro@zeniv.linux.org.uk> 2016-07-31 16:37:25 -0400 committer: Al Viro <viro@zeniv.linux.org.uk> 2016-07-31 16:37:25 -0400 commit: 6fa67e707559303e086303aeecc9e8b91ef497d5 parent: d3fe19852e96aabe3084c82ec2f3fb4918ab6d1e
Commit Summary:
get rid of 'parent' argument of ->d_compare()
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/hfs/string.c b/fs/hfs/string.c
index ec9f164c35a5..3912209153a8 100644
--- a/fs/hfs/string.c
+++ b/fs/hfs/string.c
@@ -92,7 +92,7 @@ int hfs_strcmp(const unsigned char *s1, unsigned int len1,
  * Test for equality of two strings in the HFS filename character ordering.
  * return 1 on failure and 0 on success
  */
-int hfs_compare_dentry(const struct dentry *parent, const struct dentry *dentry,
+int hfs_compare_dentry(const struct dentry *dentry,
 		unsigned int len, const char *str, const struct qstr *name)
 {
 	const unsigned char *n1, *n2;