aboutsummaryrefslogtreecommitdiffstats
path: root/fs/affs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-07-31 16:37:25 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-07-31 16:37:25 -0400
commit6fa67e707559303e086303aeecc9e8b91ef497d5 (patch)
treee5d034b0e9c533bd4e14fc0755432b50d69da2f2 /fs/affs
parentd3fe19852e96aabe3084c82ec2f3fb4918ab6d1e (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.c8
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
15static int affs_toupper(int ch); 15static int affs_toupper(int ch);
16static int affs_hash_dentry(const struct dentry *, struct qstr *); 16static int affs_hash_dentry(const struct dentry *, struct qstr *);
17static int affs_compare_dentry(const struct dentry *parent, const struct dentry *dentry, 17static 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);
19static int affs_intl_toupper(int ch); 19static int affs_intl_toupper(int ch);
20static int affs_intl_hash_dentry(const struct dentry *, struct qstr *); 20static int affs_intl_hash_dentry(const struct dentry *, struct qstr *);
21static int affs_intl_compare_dentry(const struct dentry *parent, const struct dentry *dentry, 21static 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
24const struct dentry_operations affs_dentry_operations = { 24const struct dentry_operations affs_dentry_operations = {
@@ -131,7 +131,7 @@ static inline int __affs_compare_dentry(unsigned int len,
131} 131}
132 132
133static int 133static int
134affs_compare_dentry(const struct dentry *parent, const struct dentry *dentry, 134affs_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
142static int 142static int
143affs_intl_compare_dentry(const struct dentry *parent, const struct dentry *dentry, 143affs_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,