[LTP] [PATCH 1/2] lapi/mount.h: Document reason for not including <linux/mount.h>
Andrea Cervesato
andrea.cervesato@suse.com
Tue Jan 14 13:05:14 CET 2025
Hi!
Reviewed-by: Andrea Cervesato <andrea.cervesato@suse.com>
On 5/16/24 13:20, Petr Vorel wrote:
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
> include/lapi/mount.h | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/include/lapi/mount.h b/include/lapi/mount.h
> index c1af944fe..e3e639965 100644
> --- a/include/lapi/mount.h
> +++ b/include/lapi/mount.h
> @@ -1,12 +1,16 @@
> // SPDX-License-Identifier: GPL-2.0-or-later
> /*
> - * Copyright (c) Linux Test Project, 2015-2022
> + * Copyright (c) Linux Test Project, 2015-2024
> * Copyright (c) 2015 Cui Bixuan <cuibixuan@huawei.com>
> */
>
> #ifndef LAPI_MOUNT_H__
> #define LAPI_MOUNT_H__
>
> +/*
> + * NOTE: <sys/mount.h> conflicts with <linux/mount.h>, therefore not added
> + * although some defintions from it are used.
> + */
> #include <sys/mount.h>
>
> #ifndef MS_REC
More information about the ltp
mailing list