diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 03:29:03 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:10 -0500 |
commit | 030a8ba48fa6fa2a1304bab5b0f49360613c4af2 (patch) | |
tree | 497adf7fb741306aa0ba2f4417f1e3b02af04d1f /fs | |
parent | c47da79851d5f8629c6715e681315dd8e0a3d7d8 (diff) |
autofs4: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/autofs4/autofs_i.h | 2 | ||||
-rw-r--r-- | fs/autofs4/inode.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h index 326dc08d3e3f..5869d4e974a9 100644 --- a/fs/autofs4/autofs_i.h +++ b/fs/autofs4/autofs_i.h | |||
@@ -155,7 +155,7 @@ static inline int autofs4_ispending(struct dentry *dentry) | |||
155 | return 0; | 155 | return 0; |
156 | } | 156 | } |
157 | 157 | ||
158 | struct inode *autofs4_get_inode(struct super_block *, mode_t); | 158 | struct inode *autofs4_get_inode(struct super_block *, umode_t); |
159 | void autofs4_free_ino(struct autofs_info *); | 159 | void autofs4_free_ino(struct autofs_info *); |
160 | 160 | ||
161 | /* Expiration */ | 161 | /* Expiration */ |
diff --git a/fs/autofs4/inode.c b/fs/autofs4/inode.c index 8179f1ab8175..f799efad52a8 100644 --- a/fs/autofs4/inode.c +++ b/fs/autofs4/inode.c | |||
@@ -326,7 +326,7 @@ fail_unlock: | |||
326 | return -EINVAL; | 326 | return -EINVAL; |
327 | } | 327 | } |
328 | 328 | ||
329 | struct inode *autofs4_get_inode(struct super_block *sb, mode_t mode) | 329 | struct inode *autofs4_get_inode(struct super_block *sb, umode_t mode) |
330 | { | 330 | { |
331 | struct inode *inode = new_inode(sb); | 331 | struct inode *inode = new_inode(sb); |
332 | 332 | ||