]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/rquotad/hasquota.c
Updates from Kevin Coffman at UMich
[nfs-utils.git] / utils / rquotad / hasquota.c
index 5d13921105cee7505bf9869504cec341cfce84f5..f93e90ab479189abf9422a0aa5ad7dce25504932 100644 (file)
@@ -20,6 +20,7 @@
  *          2 of the License, or (at your option) any later version.
  */
 #include "config.h"
+#define _LINUX_QUOTA_VERSION 1
 
 #include <sys/types.h>
 #include <sys/quota.h>
@@ -32,7 +33,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;