From bb7332c8ae35110fc9c93200be8830230b7a17be Mon Sep 17 00:00:00 2001 From: jweber Date: Wed, 10 May 2000 00:36:18 +0000 Subject: [PATCH] Added support for ext3 recognition in rquotad --- ChangeLog | 4 ++++ utils/rquotad/hasquota.c | 2 +- utils/rquotad/mntent.h | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1df8625..c96d894 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-09-09 Jay Weber + + * added support for ext3 recognition in rquotad + 2000-05-01 H.J. Lu * configure.in (VERSION): Set to "0.1.7.3". diff --git a/utils/rquotad/hasquota.c b/utils/rquotad/hasquota.c index 5d13921..99fd5c5 100644 --- a/utils/rquotad/hasquota.c +++ b/utils/rquotad/hasquota.c @@ -32,7 +32,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; diff --git a/utils/rquotad/mntent.h b/utils/rquotad/mntent.h index 6c58451..34ded5f 100644 --- a/utils/rquotad/mntent.h +++ b/utils/rquotad/mntent.h @@ -11,6 +11,7 @@ #define MNTTYPE_COHERENT "coherent" /* Coherent file system */ #define MNTTYPE_EXT "ext" /* Extended file system */ #define MNTTYPE_EXT2 "ext2" /* Second Extended file system */ +#define MNTTYPE_EXT3 "ext3" /* Journaled Second Extended file system */ #define MNTTYPE_HPFS "hpfs" /* OS/2's high performance file system */ #define MNTTYPE_ISO9660 "iso9660" /* ISO CDROM file system */ #define MNTTYPE_MINIX "minix" /* MINIX file system */ -- 2.39.5