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, mode_t mode);

Arguments

inode

New inode

dir

Directory inode

mode

mode of the new inode