summaryrefslogtreecommitdiff
path: root/quotacheck.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2007-02-21 13:51:25 +0000
committerjkar8572 <jkar8572>2007-02-21 13:51:25 +0000
commit163122f4ead1f93c8d4dce369043f609efffd604 (patch)
tree562a01b499458509f109371917eaffb3e1e3b499 /quotacheck.c
parent873a24fb8326047b64f45d39a2a79bd72fc0091a (diff)
downloadlinuxquota-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 'quotacheck.c')
-rw-r--r--quotacheck.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/quotacheck.c b/quotacheck.c
index d2b487d..8b46819 100644
--- a/quotacheck.c
+++ b/quotacheck.c
@@ -8,7 +8,7 @@
* New quota format implementation - Jan Kara <jack@suse.cz> - Sponsored by SuSE CR
*/
-#ident "$Id: quotacheck.c,v 1.52 2007/01/06 13:08:01 marcovw Exp $"
+#ident "$Id: quotacheck.c,v 1.53 2007/02/21 13:51:25 jkar8572 Exp $"
#include <dirent.h>
#include <stdio.h>
@@ -1039,11 +1039,11 @@ static void check_all(void)
continue;
}
cfmt = fmt;
- if (uwant && hasquota(mnt, USRQUOTA))
+ if (uwant && hasquota(mnt, USRQUOTA, 0))
ucheck = 1;
else
ucheck = 0;
- if (gwant && hasquota(mnt, GRPQUOTA))
+ if (gwant && hasquota(mnt, GRPQUOTA, 0))
gcheck = 1;
else
gcheck = 0;