From: Kaixu Xia Date: Thu, 23 Apr 2020 04:54:27 +0000 (-0700) Subject: xfs: trace quota allocations for all quota types X-Git-Tag: v5.10.7~2318^2~128 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c140735bbb65daa89275a6b87f120c5feca99d6a;p=platform%2Fkernel%2Flinux-rpi.git xfs: trace quota allocations for all quota types The trace event xfs_dquot_dqalloc does not depend on the value uq, so remove the condition, and trace quota allocations for all quota types. Signed-off-by: Kaixu Xia Reviewed-by: Chaitanya Kulkarni Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong --- diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c index c225691..6678baa 100644 --- a/fs/xfs/xfs_qm.c +++ b/fs/xfs/xfs_qm.c @@ -1730,8 +1730,7 @@ xfs_qm_vop_dqalloc( pq = xfs_qm_dqhold(ip->i_pdquot); } } - if (uq) - trace_xfs_dquot_dqalloc(ip); + trace_xfs_dquot_dqalloc(ip); xfs_iunlock(ip, lockflags); if (O_udqpp)