← Commit list

102ff76c8

Denys Vlasenko
Denys Vlasenko
2009-11-21
FAILED Duration: 28s

Subject

mount: clean up #defines. No code changes

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/mount.c+6 -10
@@ -19,6 +19,10 @@
#include <mntent.h>
#include <syslog.h>
#include <sys/mount.h>
+// Grab more as needed from util-linux's mount/mount_constants.h
+#ifndef MS_DIRSYNC
+# define MS_DIRSYNC (1 << 7) // Directory modifications are synchronous
+#endif
#ifndef MS_UNION
# define MS_UNION (1 << 8)
#endif
@@ -34,7 +38,7 @@
#ifndef MS_SILENT
# define MS_SILENT (1 << 15)
#endif
-/* The shared subtree stuff, which went in around 2.6.15. */
+// The shared subtree stuff, which went in around 2.6.15
#ifndef MS_UNBINDABLE
# define MS_UNBINDABLE (1 << 17)
#endif
@@ -50,8 +54,8 @@
#ifndef MS_RELATIME
# define MS_RELATIME (1 << 21)
#endif
-#include "libbb.h"
+#include "libbb.h"
#if ENABLE_FEATURE_MOUNT_LABEL
# include "volume_id.h"
#else
@@ -66,14 +70,6 @@
#include <rpc/pmap_prot.h>
#include <rpc/pmap_clnt.h>
-#ifndef MS_SILENT
-#define MS_SILENT (1 << 15)
-#endif
-// Grab more as needed from util-linux's mount/mount_constants.h
-#ifndef MS_DIRSYNC
-#define MS_DIRSYNC 128 // Directory modifications are synchronous
-#endif
-
#if defined(__dietlibc__)
// 16.12.2006, Sampo Kellomaki ([email protected])