diff options
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 59829523ab07..cdc4c28926d0 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -645,8 +645,7 @@ xfs_iformat_extents( | |||
645 | ep->l1 = INT_GET(get_unaligned((__uint64_t*)&dp->l1), | 645 | ep->l1 = INT_GET(get_unaligned((__uint64_t*)&dp->l1), |
646 | ARCH_CONVERT); | 646 | ARCH_CONVERT); |
647 | } | 647 | } |
648 | xfs_bmap_trace_exlist("xfs_iformat_extents", ip, nex, | 648 | XFS_BMAP_TRACE_EXLIST(ip, nex, whichfork); |
649 | whichfork); | ||
650 | if (whichfork != XFS_DATA_FORK || | 649 | if (whichfork != XFS_DATA_FORK || |
651 | XFS_EXTFMT_INODE(ip) == XFS_EXTFMT_NOSTATE) | 650 | XFS_EXTFMT_INODE(ip) == XFS_EXTFMT_NOSTATE) |
652 | if (unlikely(xfs_check_nostate_extents( | 651 | if (unlikely(xfs_check_nostate_extents( |
@@ -2894,9 +2893,6 @@ xfs_iextents_copy( | |||
2894 | int copied; | 2893 | int copied; |
2895 | xfs_bmbt_rec_t *dest_ep; | 2894 | xfs_bmbt_rec_t *dest_ep; |
2896 | xfs_bmbt_rec_t *ep; | 2895 | xfs_bmbt_rec_t *ep; |
2897 | #ifdef XFS_BMAP_TRACE | ||
2898 | static char fname[] = "xfs_iextents_copy"; | ||
2899 | #endif | ||
2900 | int i; | 2896 | int i; |
2901 | xfs_ifork_t *ifp; | 2897 | xfs_ifork_t *ifp; |
2902 | int nrecs; | 2898 | int nrecs; |
@@ -2907,7 +2903,7 @@ xfs_iextents_copy( | |||
2907 | ASSERT(ifp->if_bytes > 0); | 2903 | ASSERT(ifp->if_bytes > 0); |
2908 | 2904 | ||
2909 | nrecs = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); | 2905 | nrecs = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); |
2910 | xfs_bmap_trace_exlist(fname, ip, nrecs, whichfork); | 2906 | XFS_BMAP_TRACE_EXLIST(ip, nrecs, whichfork); |
2911 | ASSERT(nrecs > 0); | 2907 | ASSERT(nrecs > 0); |
2912 | 2908 | ||
2913 | /* | 2909 | /* |