Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Sync flags.



details:   https://anonhg.NetBSD.org/src/rev/ffe216b6f319
branches:  trunk
changeset: 582273:ffe216b6f319
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jun 23 01:59:31 2005 +0000

description:
Sync flags.

diffstat:

 sys/sys/fstypes.h |  35 ++++++++++++++++++++++++++---------
 sys/sys/statvfs.h |  17 +++++++++++------
 2 files changed, 37 insertions(+), 15 deletions(-)

diffs (96 lines):

diff -r b4939b16c082 -r ffe216b6f319 sys/sys/fstypes.h
--- a/sys/sys/fstypes.h Thu Jun 23 00:54:47 2005 +0000
+++ b/sys/sys/fstypes.h Thu Jun 23 01:59:31 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fstypes.h,v 1.4 2005/06/23 00:30:28 thorpej Exp $      */
+/*     $NetBSD: fstypes.h,v 1.5 2005/06/23 01:59:31 christos Exp $     */
 
 /*
  * Copyright (c) 1989, 1991, 1993
@@ -140,14 +140,31 @@
 /*
  * Mask of flags that are visible to statvfs()
  */
-#define        MNT_VISFLAGMASK \
-    (MNT_SOFTDEP | MNT_NODEVMTIME | MNT_SYMPERM | MNT_EXPUBLIC | \
-     MNT_EXNORESPORT | MNT_NOATIME | \
-     MNT_IGNORE | MNT_MAGICLINKS | \
-     MNT_NOCOREDUMP | MNT_ROOTFS | MNT_QUOTA | MNT_LOCAL | \
-     MNT_EXKERB | MNT_EXPORTANON | MNT_DEFEXPORTED | MNT_EXPORTED | \
-     MNT_EXRDONLY | MNT_ASYNC | MNT_UNION | MNT_NODEV | \
-     MNT_NOSUID | MNT_NOEXEC | MNT_SYNCHRONOUS | MNT_RDONLY)
+#define        MNT_VISFLAGMASK ( \
+     MNT_RDONLY | \
+     MNT_SYNCHRONOUS | \
+     MNT_NOEXEC | \
+     MNT_NOSUID | \
+     MNT_NODEV | \
+     MNT_UNION | \
+     MNT_ASYNC | \
+     MNT_NOCOREDUMP | \
+     MNT_IGNORE | \
+     MNT_MAGICLINKS | \
+     MNT_NOATIME | \
+     MNT_SYMPERM | \
+     MNT_NODEVMTIME | \
+     MNT_SOFTDEP | \
+     MNT_EXRDONLY | \
+     MNT_EXPORTED | \
+     MNT_DEFEXPORTED | \
+     MNT_EXPORTANON | \
+     MNT_EXKERB | \
+     MNT_EXNORESPORT | \
+     MNT_EXPUBLIC | \
+     MNT_LOCAL | \
+     MNT_QUOTA | \
+     MNT_ROOTFS)
 
 /*
  * External filesystem control flags.
diff -r b4939b16c082 -r ffe216b6f319 sys/sys/statvfs.h
--- a/sys/sys/statvfs.h Thu Jun 23 00:54:47 2005 +0000
+++ b/sys/sys/statvfs.h Thu Jun 23 01:59:31 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: statvfs.h,v 1.5 2004/10/06 04:30:04 lukem Exp $         */
+/*     $NetBSD: statvfs.h,v 1.6 2005/06/23 01:59:31 christos Exp $      */
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -113,20 +113,20 @@
 #endif
 
 #define        ST_RDONLY       MNT_RDONLY
+#define        ST_SYNCHRONOUS  MNT_SYNCHRONOUS
 #define        ST_NOEXEC       MNT_NOEXEC
 #define        ST_NOSUID       MNT_NOSUID
 #define        ST_NODEV        MNT_NODEV
-#define        ST_SYNCHRONOUS  MNT_SYNCHRONOUS
+#define        ST_UNION        MNT_UNION
 #define        ST_ASYNC        MNT_ASYNC
-#define        ST_UNION        MNT_UNION
 #define        ST_NOCOREDUMP   MNT_NOCOREDUMP
+#define        ST_IGNORE       MNT_IGNORE
+#define        ST_MAGICLINKS   MNT_MAGICLINKS
 #define        ST_NOATIME      MNT_NOATIME
 #define        ST_SYMPERM      MNT_SYMPERM
 #define        ST_NODEVMTIME   MNT_NODEVMTIME
 #define        ST_SOFTDEP      MNT_SOFTDEP
-#define        ST_LOCAL        MNT_LOCAL
-#define        ST_QUOTA        MNT_QUOTA
-#define        ST_ROOTFS       MNT_ROOTFS
+
 #define        ST_EXRDONLY     MNT_EXRDONLY
 #define        ST_EXPORTED     MNT_EXPORTED
 #define        ST_DEFEXPORTED  MNT_DEFEXPORTED
@@ -135,6 +135,11 @@
 #define        ST_EXNORESPORT  MNT_EXNORESPORT
 #define        ST_EXPUBLIC     MNT_EXPUBLIC
 
+#define        ST_LOCAL        MNT_LOCAL
+#define        ST_QUOTA        MNT_QUOTA
+#define        ST_ROOTFS       MNT_ROOTFS
+
+
 #define        ST_WAIT         MNT_WAIT
 #define        ST_NOWAIT       MNT_NOWAIT
 



Home | Main Index | Thread Index | Old Index