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/hfsplus | |
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/hfsplus')
-rw-r--r-- | fs/hfsplus/hfsplus_fs.h | 3 | ||||
-rw-r--r-- | fs/hfsplus/unicode.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/fs/hfsplus/hfsplus_fs.h b/fs/hfsplus/hfsplus_fs.h index 047245bd2cd6..e95c01f1d62e 100644 --- a/fs/hfsplus/hfsplus_fs.h +++ b/fs/hfsplus/hfsplus_fs.h | |||
@@ -520,8 +520,7 @@ int hfsplus_uni2asc(struct super_block *sb, const struct hfsplus_unistr *ustr, | |||
520 | int hfsplus_asc2uni(struct super_block *sb, struct hfsplus_unistr *ustr, | 520 | int hfsplus_asc2uni(struct super_block *sb, struct hfsplus_unistr *ustr, |
521 | int max_unistr_len, const char *astr, int len); | 521 | int max_unistr_len, const char *astr, int len); |
522 | int hfsplus_hash_dentry(const struct dentry *dentry, struct qstr *str); | 522 | int hfsplus_hash_dentry(const struct dentry *dentry, struct qstr *str); |
523 | int hfsplus_compare_dentry(const struct dentry *parent, | 523 | int hfsplus_compare_dentry(const struct dentry *dentry, unsigned int len, |
524 | const struct dentry *dentry, unsigned int len, | ||
525 | const char *str, const struct qstr *name); | 524 | const char *str, const struct qstr *name); |
526 | 525 | ||
527 | /* wrapper.c */ | 526 | /* wrapper.c */ |
diff --git a/fs/hfsplus/unicode.c b/fs/hfsplus/unicode.c index 509d7e231460..e563939882f3 100644 --- a/fs/hfsplus/unicode.c +++ b/fs/hfsplus/unicode.c | |||
@@ -385,7 +385,7 @@ int hfsplus_hash_dentry(const struct dentry *dentry, struct qstr *str) | |||
385 | * Composed unicode characters are decomposed and case-folding is performed | 385 | * Composed unicode characters are decomposed and case-folding is performed |
386 | * if the appropriate bits are (un)set on the superblock. | 386 | * if the appropriate bits are (un)set on the superblock. |
387 | */ | 387 | */ |
388 | int hfsplus_compare_dentry(const struct dentry *parent, const struct dentry *dentry, | 388 | int hfsplus_compare_dentry(const struct dentry *dentry, |
389 | unsigned int len, const char *str, const struct qstr *name) | 389 | unsigned int len, const char *str, const struct qstr *name) |
390 | { | 390 | { |
391 | struct super_block *sb = dentry->d_sb; | 391 | struct super_block *sb = dentry->d_sb; |