mirror of https://gitee.com/openkylin/linux.git
xfs: remove post-bmap tracing in xfs_bmap_local_to_extents
Now that we use xfs_iext_insert this is already covered by the tracing in that function. Signed-off-by: Christoph Hellwig <hch@lst.de> 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
35e62da55f
commit
d138604fb1
|
@ -920,8 +920,6 @@ xfs_bmap_local_to_extents(
|
||||||
rec.br_state = XFS_EXT_NORM;
|
rec.br_state = XFS_EXT_NORM;
|
||||||
xfs_iext_insert(ip, 0, 1, &rec, 0);
|
xfs_iext_insert(ip, 0, 1, &rec, 0);
|
||||||
|
|
||||||
trace_xfs_bmap_post_update(ip, 0, xfs_bmap_fork_to_state(whichfork),
|
|
||||||
_THIS_IP_);
|
|
||||||
XFS_IFORK_NEXT_SET(ip, whichfork, 1);
|
XFS_IFORK_NEXT_SET(ip, whichfork, 1);
|
||||||
ip->i_d.di_nblocks = 1;
|
ip->i_d.di_nblocks = 1;
|
||||||
xfs_trans_mod_dquot_byino(tp, ip,
|
xfs_trans_mod_dquot_byino(tp, ip,
|
||||||
|
|
Loading…
Reference in New Issue