diff options
Diffstat (limited to 'fs/xfs/xfs_dir2_leaf.c')
| -rw-r--r-- | fs/xfs/xfs_dir2_leaf.c | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/fs/xfs/xfs_dir2_leaf.c b/fs/xfs/xfs_dir2_leaf.c index 41ad537c49e9..29f484c11b3a 100644 --- a/fs/xfs/xfs_dir2_leaf.c +++ b/fs/xfs/xfs_dir2_leaf.c | |||
| @@ -38,8 +38,8 @@ | |||
| 38 | #include "xfs_dir2_leaf.h" | 38 | #include "xfs_dir2_leaf.h" |
| 39 | #include "xfs_dir2_block.h" | 39 | #include "xfs_dir2_block.h" |
| 40 | #include "xfs_dir2_node.h" | 40 | #include "xfs_dir2_node.h" |
| 41 | #include "xfs_dir2_trace.h" | ||
| 42 | #include "xfs_error.h" | 41 | #include "xfs_error.h" |
| 42 | #include "xfs_trace.h" | ||
| 43 | 43 | ||
| 44 | /* | 44 | /* |
| 45 | * Local function declarations. | 45 | * Local function declarations. |
| @@ -80,7 +80,8 @@ xfs_dir2_block_to_leaf( | |||
| 80 | int needscan; /* need to rescan bestfree */ | 80 | int needscan; /* need to rescan bestfree */ |
| 81 | xfs_trans_t *tp; /* transaction pointer */ | 81 | xfs_trans_t *tp; /* transaction pointer */ |
| 82 | 82 | ||
| 83 | xfs_dir2_trace_args_b("block_to_leaf", args, dbp); | 83 | trace_xfs_dir2_block_to_leaf(args); |
| 84 | |||
| 84 | dp = args->dp; | 85 | dp = args->dp; |
| 85 | mp = dp->i_mount; | 86 | mp = dp->i_mount; |
| 86 | tp = args->trans; | 87 | tp = args->trans; |
| @@ -188,7 +189,8 @@ xfs_dir2_leaf_addname( | |||
| 188 | xfs_trans_t *tp; /* transaction pointer */ | 189 | xfs_trans_t *tp; /* transaction pointer */ |
| 189 | xfs_dir2_db_t use_block; /* data block number */ | 190 | xfs_dir2_db_t use_block; /* data block number */ |
| 190 | 191 | ||
| 191 | xfs_dir2_trace_args("leaf_addname", args); | 192 | trace_xfs_dir2_leaf_addname(args); |
| 193 | |||
| 192 | dp = args->dp; | 194 | dp = args->dp; |
| 193 | tp = args->trans; | 195 | tp = args->trans; |
| 194 | mp = dp->i_mount; | 196 | mp = dp->i_mount; |
| @@ -1266,7 +1268,8 @@ xfs_dir2_leaf_lookup( | |||
| 1266 | xfs_dir2_leaf_entry_t *lep; /* leaf entry */ | 1268 | xfs_dir2_leaf_entry_t *lep; /* leaf entry */ |
| 1267 | xfs_trans_t *tp; /* transaction pointer */ | 1269 | xfs_trans_t *tp; /* transaction pointer */ |
| 1268 | 1270 | ||
| 1269 | xfs_dir2_trace_args("leaf_lookup", args); | 1271 | trace_xfs_dir2_leaf_lookup(args); |
| 1272 | |||
| 1270 | /* | 1273 | /* |
| 1271 | * Look up name in the leaf block, returning both buffers and index. | 1274 | * Look up name in the leaf block, returning both buffers and index. |
| 1272 | */ | 1275 | */ |
| @@ -1454,7 +1457,8 @@ xfs_dir2_leaf_removename( | |||
| 1454 | xfs_dir2_data_off_t oldbest; /* old value of best free */ | 1457 | xfs_dir2_data_off_t oldbest; /* old value of best free */ |
| 1455 | xfs_trans_t *tp; /* transaction pointer */ | 1458 | xfs_trans_t *tp; /* transaction pointer */ |
| 1456 | 1459 | ||
| 1457 | xfs_dir2_trace_args("leaf_removename", args); | 1460 | trace_xfs_dir2_leaf_removename(args); |
| 1461 | |||
| 1458 | /* | 1462 | /* |
| 1459 | * Lookup the leaf entry, get the leaf and data blocks read in. | 1463 | * Lookup the leaf entry, get the leaf and data blocks read in. |
| 1460 | */ | 1464 | */ |
| @@ -1586,7 +1590,8 @@ xfs_dir2_leaf_replace( | |||
| 1586 | xfs_dir2_leaf_entry_t *lep; /* leaf entry */ | 1590 | xfs_dir2_leaf_entry_t *lep; /* leaf entry */ |
| 1587 | xfs_trans_t *tp; /* transaction pointer */ | 1591 | xfs_trans_t *tp; /* transaction pointer */ |
| 1588 | 1592 | ||
| 1589 | xfs_dir2_trace_args("leaf_replace", args); | 1593 | trace_xfs_dir2_leaf_replace(args); |
| 1594 | |||
| 1590 | /* | 1595 | /* |
| 1591 | * Look up the entry. | 1596 | * Look up the entry. |
| 1592 | */ | 1597 | */ |
| @@ -1766,7 +1771,9 @@ xfs_dir2_node_to_leaf( | |||
| 1766 | if (state->path.active > 1) | 1771 | if (state->path.active > 1) |
| 1767 | return 0; | 1772 | return 0; |
| 1768 | args = state->args; | 1773 | args = state->args; |
| 1769 | xfs_dir2_trace_args("node_to_leaf", args); | 1774 | |
| 1775 | trace_xfs_dir2_node_to_leaf(args); | ||
| 1776 | |||
| 1770 | mp = state->mp; | 1777 | mp = state->mp; |
| 1771 | dp = args->dp; | 1778 | dp = args->dp; |
| 1772 | tp = args->trans; | 1779 | tp = args->trans; |
