author: Christian Brauner <christian.brauner@ubuntu.com> 2021-01-21 14:19:25 +0100
committer: Christian Brauner <christian.brauner@ubuntu.com> 2021-01-24 14:27:16 +0100
commit: 21cb47be6fb9ece7e6ee63f6780986faa384a77c
parent: 47291baa8ddfdae10663624ff0a15ab165952708
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/omfs/inode.c b/fs/omfs/inode.c
index ce93ccca8639..2a0e83236c01 100644
--- a/fs/omfs/inode.c
+++ b/fs/omfs/inode.c
@@ -48,7 +48,7 @@ struct inode *omfs_new_inode(struct inode *dir, umode_t mode)
goto fail;
inode->i_ino = new_block;
- inode_init_owner(inode, NULL, mode);
+ inode_init_owner(&init_user_ns, inode, NULL, mode);
inode->i_mapping->a_ops = &omfs_aops;
inode->i_atime = inode->i_mtime = inode->i_ctime = current_time(inode);