From dd38889595de96c43ba5b26243d4a1adbc6d405d Mon Sep 17 00:00:00 2001 From: jkar8572 Date: Fri, 17 Jan 2003 23:03:21 +0000 Subject: Made quota tools not to touch mountpoints mounted without quota options --- quotasys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quotasys.c') diff --git a/quotasys.c b/quotasys.c index 9a5ccf3..fb9850e 100644 --- a/quotasys.c +++ b/quotasys.c @@ -739,7 +739,7 @@ static int cache_mnt_table(void) while ((mnt = getmntent(mntf))) { const char *devname; - if (!CORRECT_FSTYPE(mnt->mnt_type)) /* Just basic filtering */ + if (!hasquota(mnt, USRQUOTA) && !hasquota(mnt, GRPQUOTA)) /* Check FS type and mount options */ continue; if (!(devname = get_device_name(mnt->mnt_fsname))) { errstr(_("Can't get device name for %s\n"), mnt->mnt_fsname); -- cgit v1.2.3