Name

inode_init_owner — Init uid,gid,mode for new inode according to posix standards

Synopsis

void inode_init_owner (struct inode * inode,
 const struct inode * dir,
 umode_t mode);
 

Arguments

inode

New inode

dir

Directory inode

mode

mode of the new inode