From 464de49af48dbc838bef288abe34805964b60125 Mon Sep 17 00:00:00 2001 From: jkar8572 Date: Wed, 22 Aug 2007 13:03:24 +0000 Subject: Cleaned up host access handling in rpc.rquotad (Jan Kara) Added allow_severity and deny_severity variables for older versions of libwrap (Martin Jacobs) Added MPFS to the list of supported filesystems (Dave Boone) Configure script now correctly reports checking of libwrap (Jan Kara) --- quotasys.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'quotasys.c') diff --git a/quotasys.c b/quotasys.c index c4f913c..72ce478 100644 --- a/quotasys.c +++ b/quotasys.c @@ -43,7 +43,8 @@ static char *fmtnames[] = INITQFMTNAMES; */ int nfs_fstype(char *type) { - return !strcmp(type, MNTTYPE_NFS) || !strcmp(type, MNTTYPE_NFS4); + return !strcmp(type, MNTTYPE_NFS) || !strcmp(type, MNTTYPE_NFS4) || + !strcmp(type, MNTTYPE_MPFS); } /* @@ -69,7 +70,8 @@ static int correct_fstype(char *type) !strcmp(type, MNTTYPE_REISER) || !strcmp(type, MNTTYPE_XFS) || !strcmp(type, MNTTYPE_NFS) || - !strcmp(type, MNTTYPE_NFS4)) { + !strcmp(type, MNTTYPE_NFS4) || + !strcmp(type, MNTTYPE_MPFS)) { free(mtype); return 1; } -- cgit v1.2.3