diff options
author | jkar8572 <jkar8572> | 2003-01-17 23:03:21 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2003-01-17 23:03:21 +0000 |
commit | dd38889595de96c43ba5b26243d4a1adbc6d405d (patch) | |
tree | c22fcb178a2f172498205c74bb460336c2132103 /quotasys.c | |
parent | 334574bc4663a26fe4376ea2d15b77e63f213f70 (diff) | |
download | linuxquota-dd38889595de96c43ba5b26243d4a1adbc6d405d.tar.gz |
Made quota tools not to touch mountpoints mounted without quota options
Diffstat (limited to 'quotasys.c')
-rw-r--r-- | quotasys.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |