[LTP] [PATCH 1/2] lapi/mount.h: Document reason for not including <linux/mount.h>
Petr Vorel
pvorel@suse.cz
Thu May 16 13:20:15 CEST 2024
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
--
2.43.0
More information about the ltp
mailing list