kernel-5.15/0001-Apply-AUFS-5_1.patch

15 lines
707 B
Diff

https://github.com/sfjro/aufs5-linux/commit/a4e1cd668aeb906061bb8cd44554ad3f89759a2d
fs/inode.c only
diff -Naur linux-5.10/fs/inode.c aufs5-linux-aufs5.10/fs/inode.c
--- linux-5.10/fs/inode.c 2020-12-14 01:41:30.000000000 +0300
+++ aufs5-linux-aufs5.10/fs/inode.c 2022-03-07 10:18:47.000000000 +0300
@@ -1770,7 +1770,7 @@
* This does the actual work of updating an inodes time or version. Must have
* had called mnt_want_write() before calling this.
*/
-static int update_time(struct inode *inode, struct timespec64 *time, int flags)
+int update_time(struct inode *inode, struct timespec64 *time, int flags)
{
if (inode->i_op->update_time)
return inode->i_op->update_time(inode, time, flags);