summaryrefslogtreecommitdiff
path: root/quotasys.h
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2005-10-25 13:01:14 +0000
committerjkar8572 <jkar8572>2005-10-25 13:01:14 +0000
commitd18a867ac9cdab3d3a6b176d242141be969351ec (patch)
treea3ec90d64fe7b50feb354f31d0380f90fced0690 /quotasys.h
parentb6d2587199b6d924511573719b513e278d3dad62 (diff)
Changed mountpoint scanning so that we don't even stat NFS mountpoints when
local-only flag was specified. Hence we don't block if NFS is down. (Jan Kara)
Diffstat (limited to 'quotasys.h')
-rw-r--r--quotasys.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/quotasys.h b/quotasys.h
index 62eacf9..6f9491e 100644
--- a/quotasys.h
+++ b/quotasys.h
@@ -19,9 +19,8 @@
#define TF_ROUND 0x1 /* Should be printed time rounded? */
/* Flags for IO initialization */
-#define IOI_LOCALONLY 0x1 /* Operate only on local quota */
-#define IOI_READONLY 0x2 /* Only readonly access */
-#define IOI_OPENFILE 0x4 /* Open file even if kernel has quotas turned on */
+#define IOI_READONLY 0x1 /* Only readonly access */
+#define IOI_OPENFILE 0x2 /* Open file even if kernel has quotas turned on */
#define KERN_KNOWN_QUOTA_VERSION (6*10000 + 5*100 + 1)
@@ -130,6 +129,7 @@ int kern_quota_on(const char *dev, int type, int fmt);
#define MS_NO_MNTPOINT 0x01 /* Specified directory needn't be mountpoint */
#define MS_NO_AUTOFS 0x02 /* Ignore autofs mountpoints */
#define MS_QUIET 0x04 /* Be quiet with error reporting */
+#define MS_LOCALONLY 0x08 /* Ignore nfs mountpoints */
/* Initialize mountpoints scan */
int init_mounts_scan(int dcnt, char **dirs, int flags);