diff mbox series

[1/2] lapi/mount.h: Document reason for not including <linux/mount.h>

Message ID 20240516112016.309145-1-pvorel@suse.cz
State New
Headers show
Series [1/2] lapi/mount.h: Document reason for not including <linux/mount.h> | expand

Commit Message

Petr Vorel May 16, 2024, 11:20 a.m. UTC
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 include/lapi/mount.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
diff mbox series

Patch

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