diff options
author | 2018-03-06 17:03:30 -0800 | |
---|---|---|
committer | 2018-03-11 20:27:55 -0700 | |
commit | e157ebdcb3acd16221f1e5f84c6e371e15d37b6e (patch) | |
tree | d9919244c61e87f6c7df4d174875fc800dc3e787 /fs/xfs/libxfs/xfs_bmap_btree.c | |
parent | xfs: remove unused m_dmevmask from xfs_mount struct (diff) | |
download | linux-e157ebdcb3acd16221f1e5f84c6e371e15d37b6e.tar.gz linux-e157ebdcb3acd16221f1e5f84c6e371e15d37b6e.tar.bz2 linux-e157ebdcb3acd16221f1e5f84c6e371e15d37b6e.zip |
Cleanup old XFS_BTREE_* traces
Remove unused legacy btree traces from IRIX era.
Signed-off-by: Carlos Maiolino <cmaiolino@redhat.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/libxfs/xfs_bmap_btree.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_bmap_btree.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/libxfs/xfs_bmap_btree.c b/fs/xfs/libxfs/xfs_bmap_btree.c index 9faf479aba49..d89d06bea6e3 100644 --- a/fs/xfs/libxfs/xfs_bmap_btree.c +++ b/fs/xfs/libxfs/xfs_bmap_btree.c @@ -272,10 +272,10 @@ xfs_bmbt_alloc_block( cur->bc_private.b.dfops->dop_low = true; } if (WARN_ON_ONCE(args.fsbno == NULLFSBLOCK)) { - XFS_BTREE_TRACE_CURSOR(cur, XBT_EXIT); *stat = 0; return 0; } + ASSERT(args.len == 1); cur->bc_private.b.firstblock = args.fsbno; cur->bc_private.b.allocated++; @@ -286,12 +286,10 @@ xfs_bmbt_alloc_block( new->l = cpu_to_be64(args.fsbno); - XFS_BTREE_TRACE_CURSOR(cur, XBT_EXIT); *stat = 1; return 0; error0: - XFS_BTREE_TRACE_CURSOR(cur, XBT_ERROR); return error; } |