aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/smbfs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/smbfs/dir.c')
-rw-r--r--drivers/staging/smbfs/dir.c6
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 */
276static int smb_lookup_validate(struct dentry *, struct nameidata *); 276static int smb_lookup_validate(struct dentry *, struct nameidata *);
277static int smb_hash_dentry(struct dentry *, struct qstr *); 277static int smb_hash_dentry(const struct dentry *, const struct inode *,
278 struct qstr *);
278static int smb_compare_dentry(const struct dentry *, 279static 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
338static int 339static int
339smb_hash_dentry(struct dentry *dir, struct qstr *this) 340smb_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;