Skip to content

Commit

Permalink
autofs4: propagate umode_t
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Jan 4, 2012
1 parent c47da79 commit 030a8ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fs/autofs4/autofs_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion fs/autofs4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ int autofs4_fill_super(struct super_block *s, void *data, int silent)
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);

Expand Down

0 comments on commit 030a8ba

Please sign in to comment.