summaryrefslogtreecommitdiffstats
path: root/fs/inode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-25 05:20:18 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 04:55:11 +0100
commit62bb109170375f82eb3c51c8080b72954f02dca7 (patch)
tree47d0a7b84c195b2267ed6803e4492eec6ec8478c /fs/inode.c
parentfs: propagate umode_t, misc bits (diff)
downloadlinux-62bb109170375f82eb3c51c8080b72954f02dca7.tar.xz
linux-62bb109170375f82eb3c51c8080b72954f02dca7.zip
switch inode_init_owner() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/inode.c')
-rw-r--r--fs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/inode.c b/fs/inode.c
index 24d02907e196..961355d00e38 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -1646,7 +1646,7 @@ EXPORT_SYMBOL(init_special_inode);
* @mode: mode of the new inode
*/
void inode_init_owner(struct inode *inode, const struct inode *dir,
- mode_t mode)
+ umode_t mode)
{
inode->i_uid = current_fsuid();
if (dir && dir->i_mode & S_ISGID) {