Skip to content

Commit

Permalink
lapi/mount.h: Document reason for not including <linux/mount.h>
Browse files Browse the repository at this point in the history
Link: https://lore.kernel.org/ltp/[email protected]/
Reviewed-by: Andrea Cervesato <[email protected]>
Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
pevik committed Jan 16, 2025
1 parent 869444a commit 1feeb57
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions include/lapi/mount.h
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) Linux Test Project, 2015-2022
* Copyright (c) Linux Test Project, 2015-2025
* Copyright (c) 2015 Cui Bixuan <[email protected]>
* Copyright (C) 2024 SUSE LLC Andrea Cervesato <[email protected]>
*/

#ifndef LAPI_MOUNT_H__
#define LAPI_MOUNT_H__

#include "config.h"
#include <stdint.h>

/*
* NOTE: <linux/mount.h> conflicts with <sys/mount.h>, therefore not added
* although some definitions from it are used.
*/
#include <sys/mount.h>
#include "config.h"

#ifndef MS_REC
# define MS_REC 16384
Expand Down

0 comments on commit 1feeb57

Please sign in to comment.