diff options
author | jkar8572 <jkar8572> | 2007-02-21 13:51:25 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2007-02-21 13:51:25 +0000 |
commit | 163122f4ead1f93c8d4dce369043f609efffd604 (patch) | |
tree | 562a01b499458509f109371917eaffb3e1e3b499 /quotasys.h | |
parent | 873a24fb8326047b64f45d39a2a79bd72fc0091a (diff) | |
download | linuxquota-163122f4ead1f93c8d4dce369043f609efffd604.tar.gz |
* fixed XFS handling to work with loopback mounted devices (Jan Kara)
* fixed mountpoints scanning to make XFS -x delete command work (Jan Kara)
* fixes of signed vs unsigned int issues (Jan Kara)
* fixed a format string bug in reporting of raw grace times in repquota (Jan Kara)
Diffstat (limited to 'quotasys.h')
-rw-r--r-- | quotasys.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -96,7 +96,8 @@ void space2str(qsize_t, char *, int); void number2str(unsigned long long, char *, int); /* Check to see if particular quota is to be enabled */ -int hasquota(struct mntent *mnt, int type); +/* Recognizes MS_XFS_DISABLED flag */ +int hasquota(struct mntent *mnt, int type, int flags); /* Flags for get_qf_name() */ #define NF_EXIST 1 /* Check whether file exists */ @@ -130,6 +131,8 @@ int kern_quota_on(const char *dev, int type, int fmt); #define MS_NO_AUTOFS 0x02 /* Ignore autofs mountpoints */ #define MS_QUIET 0x04 /* Be quiet with error reporting */ #define MS_LOCALONLY 0x08 /* Ignore nfs mountpoints */ +#define MS_XFS_DISABLED 0x10 /* Return also XFS mountpoints with quota disabled */ + /* Initialize mountpoints scan */ int init_mounts_scan(int dcnt, char **dirs, int flags); |