Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* @mode: mode of the new inode
*/
void inode_init_owner(struct inode *inode, const struct inode *dir,
* @mode: mode of the new inode
*/
void inode_init_owner(struct inode *inode, const struct inode *dir,
{
inode->i_uid = current_fsuid();
if (dir && dir->i_mode & S_ISGID) {
{
inode->i_uid = current_fsuid();
if (dir && dir->i_mode & S_ISGID) {
* VFS file helper functions.
*/
extern void inode_init_owner(struct inode *inode, const struct inode *dir,
* VFS file helper functions.
*/
extern void inode_init_owner(struct inode *inode, const struct inode *dir,
/*
* VFS FS_IOC_FIEMAP helper definitions.
*/
/*
* VFS FS_IOC_FIEMAP helper definitions.
*/