forked from Minki/linux
autofs4: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
c47da79851
commit
030a8ba48f
@ -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 */
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user