[Devel] [PATCH RHEL10 COMMIT] fs/fuse: Fix missing header files
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Jun 29 17:31:13 MSK 2026
The commit is pushed to "branch-rh10-6.12.0-211.16.1.12.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-211.16.1.12.6.vz10
------>
commit ee65c40a0ba4c9a284cbea94e689070e29abafae
Author: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
Date: Fri Jun 26 10:33:14 2026 +0200
fs/fuse: Fix missing header files
This fixes kernel compilation error:
fs/fuse/file.c: In function "fuse_aio_complete":
fs/fuse/file.c:1009:17: error: implicit declaration of function "fput"; did you mean "iput"? [-Wimplicit-function-declaration]
1009 | fput(file);
| ^~~~
| iput
by including file.h which defines fput().
https://virtuozzo.atlassian.net/browse/VSTOR-136420
Fixes: 4dc73eb6adc3d ("fs/fuse: force offload of final fput in aio completion to workqueue")
Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
Feature: nfs/nfsd: containerization
---
fs/fuse/file.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index d11aaac99f03c..8f406cc209593 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -23,6 +23,7 @@
#include <linux/task_io_accounting_ops.h>
#include <linux/fiemap.h>
#include <linux/jhash.h>
+#include <linux/file.h>
unsigned int hash_seed_r;
module_param(hash_seed_r, uint, 0644);
More information about the Devel
mailing list