diff options
Diffstat (limited to 'drivers/staging/smbfs/dir.c')
-rw-r--r-- | drivers/staging/smbfs/dir.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/smbfs/dir.c b/drivers/staging/smbfs/dir.c index bd63229f43f..5f79799d5d4 100644 --- a/drivers/staging/smbfs/dir.c +++ b/drivers/staging/smbfs/dir.c | |||
@@ -274,7 +274,8 @@ smb_dir_open(struct inode *dir, struct file *file) | |||
274 | * Dentry operations routines | 274 | * Dentry operations routines |
275 | */ | 275 | */ |
276 | static int smb_lookup_validate(struct dentry *, struct nameidata *); | 276 | static int smb_lookup_validate(struct dentry *, struct nameidata *); |
277 | static int smb_hash_dentry(struct dentry *, struct qstr *); | 277 | static int smb_hash_dentry(const struct dentry *, const struct inode *, |
278 | struct qstr *); | ||
278 | static int smb_compare_dentry(const struct dentry *, | 279 | static int smb_compare_dentry(const struct dentry *, |
279 | const struct inode *, | 280 | const struct inode *, |
280 | const struct dentry *, const struct inode *, | 281 | const struct dentry *, const struct inode *, |
@@ -336,7 +337,8 @@ smb_lookup_validate(struct dentry * dentry, struct nameidata *nd) | |||
336 | } | 337 | } |
337 | 338 | ||
338 | static int | 339 | static int |
339 | smb_hash_dentry(struct dentry *dir, struct qstr *this) | 340 | smb_hash_dentry(const struct dentry *dir, const struct inode *inode, |
341 | struct qstr *this) | ||
340 | { | 342 | { |
341 | unsigned long hash; | 343 | unsigned long hash; |
342 | int i; | 344 | int i; |