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/affs | |
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/affs')
-rw-r--r-- | fs/affs/namei.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/affs/namei.c b/fs/affs/namei.c index 27ca732680d9..a2d68f828d53 100644 --- a/fs/affs/namei.c +++ b/fs/affs/namei.c | |||
@@ -14,11 +14,11 @@ typedef int (*toupper_t)(int); | |||
14 | 14 | ||
15 | static int affs_toupper(int ch); | 15 | static int affs_toupper(int ch); |
16 | static int affs_hash_dentry(const struct dentry *, struct qstr *); | 16 | static int affs_hash_dentry(const struct dentry *, struct qstr *); |
17 | static int affs_compare_dentry(const struct dentry *parent, const struct dentry *dentry, | 17 | static int affs_compare_dentry(const struct dentry *dentry, |
18 | unsigned int len, const char *str, const struct qstr *name); | 18 | unsigned int len, const char *str, const struct qstr *name); |
19 | static int affs_intl_toupper(int ch); | 19 | static int affs_intl_toupper(int ch); |
20 | static int affs_intl_hash_dentry(const struct dentry *, struct qstr *); | 20 | static int affs_intl_hash_dentry(const struct dentry *, struct qstr *); |
21 | static int affs_intl_compare_dentry(const struct dentry *parent, const struct dentry *dentry, | 21 | static int affs_intl_compare_dentry(const struct dentry *dentry, |
22 | unsigned int len, const char *str, const struct qstr *name); | 22 | unsigned int len, const char *str, const struct qstr *name); |
23 | 23 | ||
24 | const struct dentry_operations affs_dentry_operations = { | 24 | const struct dentry_operations affs_dentry_operations = { |
@@ -131,7 +131,7 @@ static inline int __affs_compare_dentry(unsigned int len, | |||
131 | } | 131 | } |
132 | 132 | ||
133 | static int | 133 | static int |
134 | affs_compare_dentry(const struct dentry *parent, const struct dentry *dentry, | 134 | affs_compare_dentry(const struct dentry *dentry, |
135 | unsigned int len, const char *str, const struct qstr *name) | 135 | unsigned int len, const char *str, const struct qstr *name) |
136 | { | 136 | { |
137 | 137 | ||
@@ -140,7 +140,7 @@ affs_compare_dentry(const struct dentry *parent, const struct dentry *dentry, | |||
140 | } | 140 | } |
141 | 141 | ||
142 | static int | 142 | static int |
143 | affs_intl_compare_dentry(const struct dentry *parent, const struct dentry *dentry, | 143 | affs_intl_compare_dentry(const struct dentry *dentry, |
144 | unsigned int len, const char *str, const struct qstr *name) | 144 | unsigned int len, const char *str, const struct qstr *name) |
145 | { | 145 | { |
146 | return __affs_compare_dentry(len, str, name, affs_intl_toupper, | 146 | return __affs_compare_dentry(len, str, name, affs_intl_toupper, |