summaryrefslogtreecommitdiff
path: root/quotasys.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2007-08-22 13:03:24 +0000
committerjkar8572 <jkar8572>2007-08-22 13:03:24 +0000
commit464de49af48dbc838bef288abe34805964b60125 (patch)
tree05bc7e37d922cd6a328e2c16138b3c19bfb07eaa /quotasys.c
parent6c1c1f4546b2b12c1ad4549ebc55f39ecabf8646 (diff)
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)
Diffstat (limited to 'quotasys.c')
-rw-r--r--quotasys.c6
1 files changed, 4 insertions, 2 deletions
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;
}