[Devel] [PATCH RHEL9 COMMIT] ve/vfs: add missing headers for "fs.odirect_enable" sysctl
Konstantin Khorenko
khorenko at virtuozzo.com
Wed Jun 19 10:58:34 MSK 2024
The commit is pushed to "branch-rh9-5.14.0-425.vz9.60.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh9-5.14.0-425.vz9.60.5
------>
commit 8f49741bdb1350c4da150659f5171cea6024fabe
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date: Wed Jun 19 10:53:00 2024 +0300
ve/vfs: add missing headers for "fs.odirect_enable" sysctl
We have not noticed that previously because sysctls.c was not compiled.
Fixes: a47cb4cb3371 ("ve/vfs: introduce "fs.odirect_enable" sysctl and
disable it by default")
https://virtuozzo.atlassian.net/browse/PSBM-156472
Signed-off-by: Alexander Atanasov <alexander.atanasov at virtuozzo.com>
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
Feature: fs: O_DIRECT behavior in CT configuration
---
fs/sysctls.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/sysctls.c b/fs/sysctls.c
index 089755ccc5cd..5d8a5c6ef51a 100644
--- a/fs/sysctls.c
+++ b/fs/sysctls.c
@@ -6,6 +6,8 @@
*/
#include <linux/init.h>
#include <linux/sysctl.h>
+#include <linux/stat.h>
+#include <linux/ve.h>
static struct ctl_table fs_shared_sysctls[] = {
{
More information about the Devel
mailing list