|
|
| version 1.53, 2006/06/15 03:58:11 | version 1.54, 2007/03/03 02:56:54 |
|---|---|
| Line 282 xfs_dir2_block_addname( | Line 282 xfs_dir2_block_addname( |
| * This needs to happen before the next call to use_free. | * This needs to happen before the next call to use_free. |
| */ | */ |
| if (needscan) { | if (needscan) { |
| xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, | xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog); |
| &needlog, NULL); | |
| needscan = 0; | needscan = 0; |
| } | } |
| } | } |
| Line 333 xfs_dir2_block_addname( | Line 332 xfs_dir2_block_addname( |
| */ | */ |
| if (needscan) { | if (needscan) { |
| xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, | xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, |
| &needlog, NULL); | &needlog); |
| needscan = 0; | needscan = 0; |
| } | } |
| /* | /* |
| Line 418 xfs_dir2_block_addname( | Line 417 xfs_dir2_block_addname( |
| * Clean up the bestfree array and log the header, tail, and entry. | * Clean up the bestfree array and log the header, tail, and entry. |
| */ | */ |
| 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); | |
| if (needlog) | if (needlog) |
| xfs_dir2_data_log_header(tp, bp); | xfs_dir2_data_log_header(tp, bp); |
| xfs_dir2_block_log_tail(tp, bp); | xfs_dir2_block_log_tail(tp, bp); |
| Line 798 xfs_dir2_block_removename( | Line 796 xfs_dir2_block_removename( |
| * Fix up bestfree, log the header if necessary. | * Fix up bestfree, log the header if necessary. |
| */ | */ |
| 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); | |
| if (needlog) | if (needlog) |
| xfs_dir2_data_log_header(tp, bp); | xfs_dir2_data_log_header(tp, bp); |
| xfs_dir2_data_check(dp, bp); | xfs_dir2_data_check(dp, bp); |
| Line 996 xfs_dir2_leaf_to_block( | Line 993 xfs_dir2_leaf_to_block( |
| * Scan the bestfree if we need it and log the data block header. | * Scan the bestfree if we need it and log the data block header. |
| */ | */ |
| 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); | |
| if (needlog) | if (needlog) |
| xfs_dir2_data_log_header(tp, dbp); | xfs_dir2_data_log_header(tp, dbp); |
| /* | /* |