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 <kaixuxia@tencent.com> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
parent
0d2d35a33e
commit
c140735bbb
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue