diff options
author | jkar8572 <jkar8572> | 2002-02-27 21:23:55 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2002-02-27 21:23:55 +0000 |
commit | 9f04804a8da0547a6d6d18bbd83501a5db164e1a (patch) | |
tree | a79272d513b79f632cb7d6a7244675873b05095d /quotaon.c | |
parent | 5d3392cbdbb422993125b5aa8a8de402fcbc4b04 (diff) | |
download | linuxquota-9f04804a8da0547a6d6d18bbd83501a5db164e1a.tar.gz |
Fixed minor bug in grace time printing (Jan Kara)
Fixed quotaon behaviour with "too new" kernels (Jan Kara)
Diffstat (limited to 'quotaon.c')
-rw-r--r-- | quotaon.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -34,7 +34,7 @@ #ident "$Copyright: (c) 1980, 1990 Regents of the University of California $" #ident "$Copyright: All rights reserved. $" -#ident "$Id: quotaon.c,v 1.12 2002/02/22 14:58:32 jkar8572 Exp $" +#ident "$Id: quotaon.c,v 1.13 2002/02/27 21:23:55 jkar8572 Exp $" /* * Turn quota on/off for a filesystem. @@ -173,6 +173,10 @@ int main(int argc, char **argv) } kqf = kern_quota_format(); + if (kqf == QF_TOONEW) { + errstr(_("WARNING - Kernel quota newer than supported! Quota need not work properly.\n")); + kqf = 1 << QF_VFSV0; + } if (init_mounts_scan(aflag ? 0 : argc, argv) < 0) return 1; |