]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/rquotad/hasquota.c
Use 65534 for anon uid/gid rather than -2
[nfs-utils.git] / utils / rquotad / hasquota.c
index 5d13921105cee7505bf9869504cec341cfce84f5..d2d81153b5c0c9e634249bfd09394759cc73cc74 100644 (file)
  *          as published by the Free Software Foundation; either version
  *          2 of the License, or (at your option) any later version.
  */
-#include "config.h"
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+#define _LINUX_QUOTA_VERSION 1
 
 #include <sys/types.h>
 #include <sys/quota.h>
@@ -32,7 +36,7 @@
 #define min(x,y) ((x) < (y)) ? (x) : (y)
 
 #define CORRECT_FSTYPE(type) \
-(!strcmp(type,MNTTYPE_EXT2))
+((!strcmp(type,MNTTYPE_EXT2)) || (!strcmp(type,MNTTYPE_EXT3)))
 
 char *qfextension[] = INITQFNAMES;