[Devel] [RFC 13/54] base: fix CONFIG_VE=n build

Eva Kurchatova eva.kurchatova at virtuozzo.com
Wed Apr 29 22:58:13 MSK 2026


Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>
---
 fs/proc/base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/proc/base.c b/fs/proc/base.c
index 8397d5017de5..06eecf04569c 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -3564,7 +3564,7 @@ static const struct pid_entry tgid_base_stuff[] = {
 	REG("timers",	  S_IRUGO, proc_timers_operations),
 #endif
 	REG("timerslack_ns", S_IRUGO|S_IWUGO, proc_pid_set_timerslack_ns_operations),
-#ifdef CONFIG_CHECKPOINT_RESTORE
+#ifdef CONFIG_VE
 	REG("aio",	  S_IRUGO|S_IWUSR, proc_aio_operations),
 #endif
 #ifdef CONFIG_LIVEPATCH
-- 
2.54.0



More information about the Devel mailing list