diff options
author | Kaixu Xia <kaixuxia@tencent.com> | 2020-04-22 21:54:27 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-05-04 09:03:14 -0700 |
commit | c140735bbb65daa89275a6b87f120c5feca99d6a (patch) | |
tree | 684fb0e9440ddbc2c44a03aff7cc1dfc20274feb /fs/xfs/xfs_qm.c | |
parent | 0d2d35a33ea77f34d534106e0b18a5797d3bbcf7 (diff) | |
download | lwn-c140735bbb65daa89275a6b87f120c5feca99d6a.tar.gz lwn-c140735bbb65daa89275a6b87f120c5feca99d6a.zip |
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>
Diffstat (limited to 'fs/xfs/xfs_qm.c')
-rw-r--r-- | fs/xfs/xfs_qm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c index c225691fad15..6678baab37de 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) |