diff options
Diffstat (limited to 'fs/adfs/dir.c')
-rw-r--r-- | fs/adfs/dir.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/adfs/dir.c b/fs/adfs/dir.c index ade28bb058e3..0d138c0de293 100644 --- a/fs/adfs/dir.c +++ b/fs/adfs/dir.c | |||
@@ -191,8 +191,7 @@ const struct file_operations adfs_dir_operations = { | |||
191 | }; | 191 | }; |
192 | 192 | ||
193 | static int | 193 | static int |
194 | adfs_hash(const struct dentry *parent, const struct inode *inode, | 194 | adfs_hash(const struct dentry *parent, struct qstr *qstr) |
195 | struct qstr *qstr) | ||
196 | { | 195 | { |
197 | const unsigned int name_len = ADFS_SB(parent->d_sb)->s_namelen; | 196 | const unsigned int name_len = ADFS_SB(parent->d_sb)->s_namelen; |
198 | const unsigned char *name; | 197 | const unsigned char *name; |
@@ -228,8 +227,7 @@ adfs_hash(const struct dentry *parent, const struct inode *inode, | |||
228 | * requirements of the underlying filesystem. | 227 | * requirements of the underlying filesystem. |
229 | */ | 228 | */ |
230 | static int | 229 | static int |
231 | adfs_compare(const struct dentry *parent, const struct inode *pinode, | 230 | adfs_compare(const struct dentry *parent, const struct dentry *dentry, |
232 | const struct dentry *dentry, const struct inode *inode, | ||
233 | unsigned int len, const char *str, const struct qstr *name) | 231 | unsigned int len, const char *str, const struct qstr *name) |
234 | { | 232 | { |
235 | int i; | 233 | int i; |