summaryrefslogtreecommitdiff
path: root/quotasys.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2002-04-29 13:20:36 +0000
committerjkar8572 <jkar8572>2002-04-29 13:20:36 +0000
commit04bc20aa76dc9743a3d81ad48427860e0f3f3b2f (patch)
tree33c9aefb2d6fc838e7d094430dca324c0e140255 /quotasys.c
parent1cb4d5ce16afa8a908371c61146eacc7f3d60e55 (diff)
Quota-tools now honour 'noquota' mount option. (Jan Kara)
Diffstat (limited to 'quotasys.c')
-rw-r--r--quotasys.c2
1 files changed, 1 insertions, 1 deletions
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))