diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/inode.c | 2 |
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); | |||
1646 | * @mode: mode of the new inode | 1646 | * @mode: mode of the new inode |
1647 | */ | 1647 | */ |
1648 | void inode_init_owner(struct inode *inode, const struct inode *dir, | 1648 | void inode_init_owner(struct inode *inode, const struct inode *dir, |
1649 | mode_t mode) | 1649 | umode_t mode) |
1650 | { | 1650 | { |
1651 | inode->i_uid = current_fsuid(); | 1651 | inode->i_uid = current_fsuid(); |
1652 | if (dir && dir->i_mode & S_ISGID) { | 1652 | if (dir && dir->i_mode & S_ISGID) { |