There is an error:
fs/sync.c:127:5: error: redefinition of 've_fsync_behavior'

https://virtuozzo.atlassian.net/browse/VSTOR-130116

Feature: !CONFIG_VE build
Signed-off-by: Vladimir Riabchun <[email protected]>
---
 fs/sync.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/sync.c b/fs/sync.c
index b851c6b48f6d..c0114b90c3e9 100644
--- a/fs/sync.c
+++ b/fs/sync.c
@@ -124,6 +124,7 @@ static int __ve_fsync_behavior(struct ve_struct *ve)
                return 0;
 }
 
+#ifdef CONFIG_VE
 int ve_fsync_behavior(void)
 {
        struct ve_struct *ve;
@@ -134,6 +135,7 @@ int ve_fsync_behavior(void)
        else
                return __ve_fsync_behavior(ve);
 }
+#endif
 
 /*
  * Sync everything. We start by waking flusher threads so that most of
-- 
2.47.1

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to