diff options
author | jkar8572 <jkar8572> | 2005-10-25 13:01:14 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2005-10-25 13:01:14 +0000 |
commit | d18a867ac9cdab3d3a6b176d242141be969351ec (patch) | |
tree | a3ec90d64fe7b50feb354f31d0380f90fced0690 /quotasys.h | |
parent | b6d2587199b6d924511573719b513e278d3dad62 (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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |