mirror of https://github.com/OpenIPC/firmware.git
12 lines
313 B
Diff
12 lines
313 B
Diff
diff -drupN a/fs/sync.c b/fs/sync.c
|
|
--- a/fs/sync.c 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/fs/sync.c 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -218,6 +218,7 @@ static int do_fsync(unsigned int fd, int
|
|
if (f.file) {
|
|
ret = vfs_fsync(f.file, datasync);
|
|
fdput(f);
|
|
+ inc_syscfs(current);
|
|
}
|
|
return ret;
|
|
}
|