VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Christian Brauner <christian.brauner@ubuntu.com> 2021-01-21 14:19:26 +0100 committer: Christian Brauner <christian.brauner@ubuntu.com> 2021-01-24 14:27:16 +0100 commit: 2f221d6f7b881d95de1f356a3097d755ab1e47d4 parent: 21cb47be6fb9ece7e6ee63f6780986faa384a77c
Commit Summary:
attr: handle idmapped mounts
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/adfs/inode.c b/fs/adfs/inode.c
index 32620f4a7623..278dcee6ae22 100644
--- a/fs/adfs/inode.c
+++ b/fs/adfs/inode.c
@@ -299,7 +299,7 @@ adfs_notify_change(struct dentry *dentry, struct iattr *attr)
 	unsigned int ia_valid = attr->ia_valid;
 	int error;
 	
-	error = setattr_prepare(dentry, attr);
+	error = setattr_prepare(&init_user_ns, dentry, attr);
 
 	/*
 	 * we can't change the UID or GID of any file -