|
|
| version 1.56, 2006/06/15 03:58:11 | version 1.57, 2007/03/03 02:56:54 |
|---|---|
| Line 133 xfs_dir2_block_to_leaf( | Line 133 xfs_dir2_block_to_leaf( |
| */ | */ |
| block->hdr.magic = cpu_to_be32(XFS_DIR2_DATA_MAGIC); | block->hdr.magic = cpu_to_be32(XFS_DIR2_DATA_MAGIC); |
| if (needscan) | if (needscan) |
| xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog, | xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog); |
| NULL); | |
| /* | /* |
| * Set up leaf tail and bests table. | * Set up leaf tail and bests table. |
| */ | */ |
| Line 414 xfs_dir2_leaf_addname( | Line 413 xfs_dir2_leaf_addname( |
| * Need to scan fix up the bestfree table. | * Need to scan fix up the bestfree table. |
| */ | */ |
| if (needscan) | if (needscan) |
| xfs_dir2_data_freescan(mp, data, &needlog, NULL); | xfs_dir2_data_freescan(mp, data, &needlog); |
| /* | /* |
| * Need to log the data block's header. | * Need to log the data block's header. |
| */ | */ |
| Line 1496 xfs_dir2_leaf_removename( | Line 1495 xfs_dir2_leaf_removename( |
| * log the data block header if necessary. | * log the data block header if necessary. |
| */ | */ |
| if (needscan) | if (needscan) |
| xfs_dir2_data_freescan(mp, data, &needlog, NULL); | xfs_dir2_data_freescan(mp, data, &needlog); |
| if (needlog) | if (needlog) |
| xfs_dir2_data_log_header(tp, dbp); | xfs_dir2_data_log_header(tp, dbp); |
| /* | /* |