diff options
Diffstat (limited to 'fs/xfs/xfs_dir2_leaf.c')
-rw-r--r-- | fs/xfs/xfs_dir2_leaf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/xfs/xfs_dir2_leaf.c b/fs/xfs/xfs_dir2_leaf.c index 84f4c9cfe95a..721ba2fe8e54 100644 --- a/fs/xfs/xfs_dir2_leaf.c +++ b/fs/xfs/xfs_dir2_leaf.c | |||
@@ -302,7 +302,7 @@ xfs_dir3_leaf_read( | |||
302 | err = xfs_da_read_buf(tp, dp, fbno, mappedbno, bpp, | 302 | err = xfs_da_read_buf(tp, dp, fbno, mappedbno, bpp, |
303 | XFS_DATA_FORK, &xfs_dir3_leaf1_buf_ops); | 303 | XFS_DATA_FORK, &xfs_dir3_leaf1_buf_ops); |
304 | if (!err && tp) | 304 | if (!err && tp) |
305 | xfs_trans_buf_set_type(tp, *bpp, XFS_BLF_DIR_LEAF1_BUF); | 305 | xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_DIR_LEAF1_BUF); |
306 | return err; | 306 | return err; |
307 | } | 307 | } |
308 | 308 | ||
@@ -319,7 +319,7 @@ xfs_dir3_leafn_read( | |||
319 | err = xfs_da_read_buf(tp, dp, fbno, mappedbno, bpp, | 319 | err = xfs_da_read_buf(tp, dp, fbno, mappedbno, bpp, |
320 | XFS_DATA_FORK, &xfs_dir3_leafn_buf_ops); | 320 | XFS_DATA_FORK, &xfs_dir3_leafn_buf_ops); |
321 | if (!err && tp) | 321 | if (!err && tp) |
322 | xfs_trans_buf_set_type(tp, *bpp, XFS_BLF_DIR_LEAFN_BUF); | 322 | xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_DIR_LEAFN_BUF); |
323 | return err; | 323 | return err; |
324 | } | 324 | } |
325 | 325 | ||
@@ -364,10 +364,10 @@ xfs_dir3_leaf_init( | |||
364 | ltp = xfs_dir2_leaf_tail_p(mp, leaf); | 364 | ltp = xfs_dir2_leaf_tail_p(mp, leaf); |
365 | ltp->bestcount = 0; | 365 | ltp->bestcount = 0; |
366 | bp->b_ops = &xfs_dir3_leaf1_buf_ops; | 366 | bp->b_ops = &xfs_dir3_leaf1_buf_ops; |
367 | xfs_trans_buf_set_type(tp, bp, XFS_BLF_DIR_LEAF1_BUF); | 367 | xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DIR_LEAF1_BUF); |
368 | } else { | 368 | } else { |
369 | bp->b_ops = &xfs_dir3_leafn_buf_ops; | 369 | bp->b_ops = &xfs_dir3_leafn_buf_ops; |
370 | xfs_trans_buf_set_type(tp, bp, XFS_BLF_DIR_LEAFN_BUF); | 370 | xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DIR_LEAFN_BUF); |
371 | } | 371 | } |
372 | } | 372 | } |
373 | 373 | ||
@@ -488,7 +488,7 @@ xfs_dir2_block_to_leaf( | |||
488 | * Fix up the block header, make it a data block. | 488 | * Fix up the block header, make it a data block. |
489 | */ | 489 | */ |
490 | dbp->b_ops = &xfs_dir3_data_buf_ops; | 490 | dbp->b_ops = &xfs_dir3_data_buf_ops; |
491 | xfs_trans_buf_set_type(tp, dbp, XFS_BLF_DIR_DATA_BUF); | 491 | xfs_trans_buf_set_type(tp, dbp, XFS_BLFT_DIR_DATA_BUF); |
492 | if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC)) | 492 | if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC)) |
493 | hdr->magic = cpu_to_be32(XFS_DIR2_DATA_MAGIC); | 493 | hdr->magic = cpu_to_be32(XFS_DIR2_DATA_MAGIC); |
494 | else | 494 | else |
@@ -2197,7 +2197,7 @@ xfs_dir2_node_to_leaf( | |||
2197 | xfs_dir3_leaf_compact(args, &leafhdr, lbp); | 2197 | xfs_dir3_leaf_compact(args, &leafhdr, lbp); |
2198 | 2198 | ||
2199 | lbp->b_ops = &xfs_dir3_leaf1_buf_ops; | 2199 | lbp->b_ops = &xfs_dir3_leaf1_buf_ops; |
2200 | xfs_trans_buf_set_type(tp, lbp, XFS_BLF_DIR_LEAF1_BUF); | 2200 | xfs_trans_buf_set_type(tp, lbp, XFS_BLFT_DIR_LEAF1_BUF); |
2201 | leafhdr.magic = (leafhdr.magic == XFS_DIR2_LEAFN_MAGIC) | 2201 | leafhdr.magic = (leafhdr.magic == XFS_DIR2_LEAFN_MAGIC) |
2202 | ? XFS_DIR2_LEAF1_MAGIC | 2202 | ? XFS_DIR2_LEAF1_MAGIC |
2203 | : XFS_DIR3_LEAF1_MAGIC; | 2203 | : XFS_DIR3_LEAF1_MAGIC; |