mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
@@ -798,7 +798,6 @@ xfs_qm_dqget_cache_insert(
|
|||||||
error = radix_tree_insert(tree, id, dqp);
|
error = radix_tree_insert(tree, id, dqp);
|
||||||
if (unlikely(error)) {
|
if (unlikely(error)) {
|
||||||
/* Duplicate found! Caller must try again. */
|
/* Duplicate found! Caller must try again. */
|
||||||
WARN_ON(error != -EEXIST);
|
|
||||||
mutex_unlock(&qi->qi_tree_lock);
|
mutex_unlock(&qi->qi_tree_lock);
|
||||||
trace_xfs_dqget_dup(dqp);
|
trace_xfs_dqget_dup(dqp);
|
||||||
return error;
|
return error;
|
||||||
|
Reference in New Issue
Block a user