summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_quotaops.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2022-05-12 15:23:07 +1000
committerDave Chinner <david@fromorbit.com>2022-05-12 15:23:07 +1000
commitefd409a4329f6927795be5ae080cd3ec8c014f49 (patch)
treeb4fc7e39dbe9a94ec0a74f22760624fc7a752202 /fs/xfs/xfs_quotaops.c
parent45ff8b471cdc58701a7ba5c5dcd8dfc57ae06829 (diff)
parent5349b2afc117d87d35502f2fe1930692d6bfc68b (diff)
downloadlinux-stable-efd409a4329f6927795be5ae080cd3ec8c014f49.tar.gz
linux-stable-efd409a4329f6927795be5ae080cd3ec8c014f49.tar.bz2
linux-stable-efd409a4329f6927795be5ae080cd3ec8c014f49.zip
Merge branch 'xfs-5.19-quota-warn-remove' into xfs-5.19-for-next
Diffstat (limited to 'fs/xfs/xfs_quotaops.c')
-rw-r--r--fs/xfs/xfs_quotaops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_quotaops.c b/fs/xfs/xfs_quotaops.c
index 07989bd67728..9c162e69976b 100644
--- a/fs/xfs/xfs_quotaops.c
+++ b/fs/xfs/xfs_quotaops.c
@@ -40,9 +40,9 @@ xfs_qm_fill_state(
tstate->spc_timelimit = (u32)defq->blk.time;
tstate->ino_timelimit = (u32)defq->ino.time;
tstate->rt_spc_timelimit = (u32)defq->rtb.time;
- tstate->spc_warnlimit = defq->blk.warn;
- tstate->ino_warnlimit = defq->ino.warn;
- tstate->rt_spc_warnlimit = defq->rtb.warn;
+ tstate->spc_warnlimit = 0;
+ tstate->ino_warnlimit = 0;
+ tstate->rt_spc_warnlimit = 0;
if (tempqip)
xfs_irele(ip);
}
@@ -98,7 +98,7 @@ xfs_quota_type(int type)
}
}
-#define XFS_QC_SETINFO_MASK (QC_TIMER_MASK | QC_WARNS_MASK)
+#define XFS_QC_SETINFO_MASK (QC_TIMER_MASK)
/*
* Adjust quota timers & warnings