VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   35 Branches   59 Tags
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:
inode: make init and permission helpers idmapped mount aware
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/ext2/ialloc.c b/fs/ext2/ialloc.c
index 432c3febea6d..df14e750e9fe 100644
--- a/fs/ext2/ialloc.c
+++ b/fs/ext2/ialloc.c
@@ -551,7 +551,7 @@ got:
 		inode->i_uid = current_fsuid();
 		inode->i_gid = dir->i_gid;
 	} else
-		inode_init_owner(inode, dir, mode);
+		inode_init_owner(&init_user_ns, inode, dir, mode);
 
 	inode->i_ino = ino;
 	inode->i_blocks = 0;