Closed terraluna977 closed 1 year ago
Thanks, this is very helpful. You made a copy-paste mistake in two of the macros:
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 12, 0)
err = setattr_prepare(dentry, iattr);
#elif LINUX_VERSION_CODE < KERNEL_VERSION(5, 12, 0)
err = setattr_prepare(&init_user_ns, dentry, iattr);
#else
err = setattr_prepare(&nop_mnt_idmap, dentry, iattr);
#endif
Do you want to fix this yourself or should I do it?
Fixed the macro typos. Yep, looking at the git diff between branches helps :-)
Great, this patch is applied now.
Changes for kernel 6.3