summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2003-01-17 23:03:21 +0000
committerjkar8572 <jkar8572>2003-01-17 23:03:21 +0000
commitdd38889595de96c43ba5b26243d4a1adbc6d405d (patch)
treec22fcb178a2f172498205c74bb460336c2132103
parent334574bc4663a26fe4376ea2d15b77e63f213f70 (diff)
Made quota tools not to touch mountpoints mounted without quota options
-rw-r--r--Changelog4
-rw-r--r--quotasys.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/Changelog b/Changelog
index e298b79..245a872 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,7 @@
+Changes in quota-tools from 3.08 to 3.09
+* repquota(8) handles multiple entries in /etc/passwd better (Jan Kara)
+* made tools not to touch mountpoints mounted without quota options (Jan Kara, Paul Szabo)
+
Changes in quota-tools from 3.07 to 3.08
* Fixed infinite loop in quotacheck under RH7.1 (?)
* Made quota tools aware of /etc/services (H. J. Lu)
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);