diff options
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 (patch) | |
tree | e5d034b0e9c533bd4e14fc0755432b50d69da2f2 /fs/hfs | |
parent | d3fe19852e96aabe3084c82ec2f3fb4918ab6d1e (diff) |
get rid of 'parent' argument of ->d_compare()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hfs')
-rw-r--r-- | fs/hfs/hfs_fs.h | 2 | ||||
-rw-r--r-- | fs/hfs/string.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/hfs/hfs_fs.h b/fs/hfs/hfs_fs.h index ee2f385811c8..f28d7a259105 100644 --- a/fs/hfs/hfs_fs.h +++ b/fs/hfs/hfs_fs.h | |||
@@ -233,7 +233,7 @@ extern const struct dentry_operations hfs_dentry_operations; | |||
233 | extern int hfs_hash_dentry(const struct dentry *, struct qstr *); | 233 | extern int hfs_hash_dentry(const struct dentry *, struct qstr *); |
234 | extern int hfs_strcmp(const unsigned char *, unsigned int, | 234 | extern int hfs_strcmp(const unsigned char *, unsigned int, |
235 | const unsigned char *, unsigned int); | 235 | const unsigned char *, unsigned int); |
236 | extern int hfs_compare_dentry(const struct dentry *parent, const struct dentry *dentry, | 236 | extern int hfs_compare_dentry(const struct dentry *dentry, |
237 | unsigned int len, const char *str, const struct qstr *name); | 237 | unsigned int len, const char *str, const struct qstr *name); |
238 | 238 | ||
239 | /* trans.c */ | 239 | /* trans.c */ |
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, | |||
92 | * Test for equality of two strings in the HFS filename character ordering. | 92 | * Test for equality of two strings in the HFS filename character ordering. |
93 | * return 1 on failure and 0 on success | 93 | * return 1 on failure and 0 on success |
94 | */ | 94 | */ |
95 | int hfs_compare_dentry(const struct dentry *parent, const struct dentry *dentry, | 95 | int hfs_compare_dentry(const struct dentry *dentry, |
96 | unsigned int len, const char *str, const struct qstr *name) | 96 | unsigned int len, const char *str, const struct qstr *name) |
97 | { | 97 | { |
98 | const unsigned char *n1, *n2; | 98 | const unsigned char *n1, *n2; |