summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2023-04-12 15:48:59 +1000
committerDave Chinner <dchinner@redhat.com>2023-04-12 15:48:59 +1000
commit4b827b3f305d1fcf837265f1e12acc22ee84327c (patch)
treecaf19e0e5eb0aa38ce382ffd730e1d2ab700174f
parentaa88019851a85df80cb77f143758b13aee09e3d9 (diff)
downloadlwn-4b827b3f305d1fcf837265f1e12acc22ee84327c.tar.gz
lwn-4b827b3f305d1fcf837265f1e12acc22ee84327c.zip
xfs: remove WARN when dquot cache insertion fails
It just creates unnecessary bot noise these days. Reported-by: syzbot+6ae213503fb12e87934f@syzkaller.appspotmail.com Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Dave Chinner <david@fromorbit.com>
-rw-r--r--fs/xfs/xfs_dquot.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dquot.c b/fs/xfs/xfs_dquot.c
index 8fb90da89787..7f071757f278 100644
--- a/fs/xfs/xfs_dquot.c
+++ b/fs/xfs/xfs_dquot.c
@@ -798,7 +798,6 @@ xfs_qm_dqget_cache_insert(
error = radix_tree_insert(tree, id, dqp);
if (unlikely(error)) {
/* Duplicate found! Caller must try again. */
- WARN_ON(error != -EEXIST);
mutex_unlock(&qi->qi_tree_lock);
trace_xfs_dqget_dup(dqp);
return error;