autofs4: propagate umode_t

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2011-07-26 03:29:03 -04:00
parent c47da79851
commit 030a8ba48f
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ static inline int autofs4_ispending(struct dentry *dentry)
return 0;
}
struct inode *autofs4_get_inode(struct super_block *, mode_t);
struct inode *autofs4_get_inode(struct super_block *, umode_t);
void autofs4_free_ino(struct autofs_info *);
/* Expiration */

View File

@ -326,7 +326,7 @@ fail_unlock:
return -EINVAL;
}
struct inode *autofs4_get_inode(struct super_block *sb, mode_t mode)
struct inode *autofs4_get_inode(struct super_block *sb, umode_t mode)
{
struct inode *inode = new_inode(sb);