diff options
Diffstat (limited to 'fs/xfs/xfs_dir2_node.c')
-rw-r--r-- | fs/xfs/xfs_dir2_node.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_dir2_node.c b/fs/xfs/xfs_dir2_node.c index b4bd9b6e93f9..18e287deee66 100644 --- a/fs/xfs/xfs_dir2_node.c +++ b/fs/xfs/xfs_dir2_node.c | |||
@@ -313,11 +313,13 @@ xfs_dir2_free_log_header( | |||
313 | struct xfs_trans *tp, | 313 | struct xfs_trans *tp, |
314 | struct xfs_buf *bp) | 314 | struct xfs_buf *bp) |
315 | { | 315 | { |
316 | #ifdef DEBUG | ||
316 | xfs_dir2_free_t *free; /* freespace structure */ | 317 | xfs_dir2_free_t *free; /* freespace structure */ |
317 | 318 | ||
318 | free = bp->b_addr; | 319 | free = bp->b_addr; |
319 | ASSERT(free->hdr.magic == cpu_to_be32(XFS_DIR2_FREE_MAGIC) || | 320 | ASSERT(free->hdr.magic == cpu_to_be32(XFS_DIR2_FREE_MAGIC) || |
320 | free->hdr.magic == cpu_to_be32(XFS_DIR3_FREE_MAGIC)); | 321 | free->hdr.magic == cpu_to_be32(XFS_DIR3_FREE_MAGIC)); |
322 | #endif | ||
321 | xfs_trans_log_buf(tp, bp, 0, xfs_dir3_free_hdr_size(tp->t_mountp) - 1); | 323 | xfs_trans_log_buf(tp, bp, 0, xfs_dir3_free_hdr_size(tp->t_mountp) - 1); |
322 | } | 324 | } |
323 | 325 | ||