mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
switch inode_init_owner() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
175a4eb7ea
commit
62bb109170
2 changed files with 2 additions and 2 deletions
|
@ -1646,7 +1646,7 @@ EXPORT_SYMBOL(init_special_inode);
|
||||||
* @mode: mode of the new inode
|
* @mode: mode of the new inode
|
||||||
*/
|
*/
|
||||||
void inode_init_owner(struct inode *inode, const struct inode *dir,
|
void inode_init_owner(struct inode *inode, const struct inode *dir,
|
||||||
mode_t mode)
|
umode_t mode)
|
||||||
{
|
{
|
||||||
inode->i_uid = current_fsuid();
|
inode->i_uid = current_fsuid();
|
||||||
if (dir && dir->i_mode & S_ISGID) {
|
if (dir && dir->i_mode & S_ISGID) {
|
||||||
|
|
|
@ -1534,7 +1534,7 @@ extern void dentry_unhash(struct dentry *dentry);
|
||||||
* VFS file helper functions.
|
* VFS file helper functions.
|
||||||
*/
|
*/
|
||||||
extern void inode_init_owner(struct inode *inode, const struct inode *dir,
|
extern void inode_init_owner(struct inode *inode, const struct inode *dir,
|
||||||
mode_t mode);
|
umode_t mode);
|
||||||
/*
|
/*
|
||||||
* VFS FS_IOC_FIEMAP helper definitions.
|
* VFS FS_IOC_FIEMAP helper definitions.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue