]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs: remove post-bmap tracing in xfs_bmap_local_to_extents
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Nov 2017 04:11:32 +0000 (22:11 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 17 Nov 2017 04:11:32 +0000 (22:11 -0600)
Source kernel commit: d138604fb1a6500064b50e75f220e6cbce785493

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_bmap.c

index 552cab1949f5b65e992c9910e63aec21ce510193..57728f9c739998a632762a9fb3af9a2f2cfafc64 100644 (file)
@@ -911,8 +911,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,