[Devel] [VZ10 11/21] ve/aio: Hide aio pid_entry under CONFIG_VE

Vasileios Almpanis vasileios.almpanis at virtuozzo.com
Fri May 15 14:16:01 MSK 2026


On 5/7/26 9:10 PM, Vladimir Riabchun wrote:
> THis entry uses proc_aio_operations, which is defined only
make H lowercase (This)
> with CONFIG_VE.
>
> https://virtuozzo.atlassian.net/browse/VSTOR-130116
>
> Feature: !CONFIG_VE build
> Signed-off-by: Vladimir Riabchun <vladimir.riabchun 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..47b82c424ab7 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
> +#if defined(CONFIG_CHECKPOINT_RESTORE) && defined(CONFIG_VE)
>   	REG("aio",	  S_IRUGO|S_IWUSR, proc_aio_operations),
>   #endif
>   #ifdef CONFIG_LIVEPATCH

-- 
Best regards, Vasileios Almpanis
Software Developer, Virtuozzo.



More information about the Devel mailing list