Skip to content

Commit

Permalink
Restore global mntent.h
Browse files Browse the repository at this point in the history
We accidentally broke Linux build by modifying the
global header, instead of the Windows specific header.

Signed-off-by: Jorgen Lundman <[email protected]>
  • Loading branch information
lundman committed Apr 25, 2024
1 parent 01aa832 commit 07c1791
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions include/sys/mntent.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
#define MNTOPT_DEFCONTEXT "defcontext" /* selinux defcontext */
#define MNTOPT_ROOTCONTEXT "rootcontext" /* selinux rootcontext */
#define MNTOPT_DEFAULTS "defaults" /* defaults */
#define MNTOPT_DEVICES "dev" /* device-special allowed */
#define MNTOPT_NODEVICES "nodev" /* device-special disallowed */
#define MNTOPT_DIRATIME "diratime" /* update atime for dirs */
#define MNTOPT_NODIRATIME "nodiratime" /* do not update atime for dirs */
#define MNTOPT_DIRSYNC "dirsync" /* do dir updates synchronously */
Expand All @@ -62,6 +64,8 @@
#define MNTOPT_NOGROUP "nogroup" /* do not allow group mount */
#define MNTOPT_IVERSION "iversion" /* update inode version */
#define MNTOPT_NOIVERSION "noiversion" /* do not update inode version */
#define MNTOPT_NBMAND "mand" /* allow non-blocking mandatory locks */
#define MNTOPT_NONBMAND "nomand" /* deny non-blocking mandatory locks */
#define MNTOPT_NETDEV "_netdev" /* network device */
#define MNTOPT_NOFAIL "nofail" /* no failure */
#define MNTOPT_RELATIME "relatime" /* allow relative time updates */
Expand Down
4 changes: 0 additions & 4 deletions lib/libspl/include/os/windows/mntent.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ extern "C" {
#define MNTOPT_HARD "hard" /* Hard mount */
#define MNTOPT_SUID "suid" /* Both setuid and devices allowed */
#define MNTOPT_NOSUID "nosuid" /* Neither setuid nor devices allowed */
#define MNTOPT_DEVICES "devices" /* Device-special allowed */
#define MNTOPT_NODEVICES "nodevices" /* Device-special disallowed */
#define MNTOPT_SETUID "setuid" /* Set uid allowed */
#define MNTOPT_NOSETUID "nosetuid" /* Set uid not allowed */
#define MNTOPT_GRPID "grpid" /* SysV-compatible gid on create */
Expand Down Expand Up @@ -124,8 +122,6 @@ extern "C" {
#define MNTOPT_NOGLOBAL "noglobal" /* Mount local to single node */
#define MNTOPT_DFRATIME "dfratime" /* Deferred access time updates */
#define MNTOPT_NODFRATIME "nodfratime" /* No Deferred access time updates */
#define MNTOPT_NBMAND "nbmand" /* allow non-blocking mandatory locks */
#define MNTOPT_NONBMAND "nonbmand" /* deny non-blocking mandatory locks */
#define MNTOPT_XATTR "xattr" /* enable extended attributes */
#define MNTOPT_NOXATTR "noxattr" /* disable extended attributes */
#define MNTOPT_EXEC "exec" /* enable executables */
Expand Down

0 comments on commit 07c1791

Please sign in to comment.