From: Christoph Hellwig Date: Thu, 19 Oct 2017 18:04:44 +0000 (-0700) Subject: xfs: remove post-bmap tracing in xfs_bmap_local_to_extents X-Git-Tag: v4.19~2220^2~74 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d138604fb1a6500064b50e75f220e6cbce785493;p=platform%2Fkernel%2Flinux-rpi.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 Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong --- diff --git a/fs/xfs/libxfs/xfs_bmap.c b/fs/xfs/libxfs/xfs_bmap.c index e4335ec..1a03d43 100644 --- a/fs/xfs/libxfs/xfs_bmap.c +++ b/fs/xfs/libxfs/xfs_bmap.c @@ -920,8 +920,6 @@ xfs_bmap_local_to_extents( rec.br_state = XFS_EXT_NORM; 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); ip->i_d.di_nblocks = 1; xfs_trans_mod_dquot_byino(tp, ip,