From 04bc20aa76dc9743a3d81ad48427860e0f3f3b2f Mon Sep 17 00:00:00 2001 From: jkar8572 Date: Mon, 29 Apr 2002 13:20:36 +0000 Subject: Quota-tools now honour 'noquota' mount option. (Jan Kara) --- quotasys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quotasys.c') diff --git a/quotasys.c b/quotasys.c index 77d8c83..8cf62f6 100644 --- a/quotasys.c +++ b/quotasys.c @@ -329,7 +329,7 @@ static int hasxfsquota(struct mntent *mnt, int type) */ int hasquota(struct mntent *mnt, int type) { - if (!CORRECT_FSTYPE(mnt->mnt_type)) + if (!CORRECT_FSTYPE(mnt->mnt_type) || hasmntopt(mnt, MNTOPT_NOQUOTA)) return 0; if (!strcmp(mnt->mnt_type, MNTTYPE_XFS)) -- cgit v1.2.3