|
@@ -282,8 +282,7 @@ xfs_dir2_block_addname(
|
|
|
* This needs to happen before the next call to use_free.
|
|
|
*/
|
|
|
if (needscan) {
|
|
|
- xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block,
|
|
|
- &needlog, NULL);
|
|
|
+ xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog);
|
|
|
needscan = 0;
|
|
|
}
|
|
|
}
|
|
@@ -333,7 +332,7 @@ xfs_dir2_block_addname(
|
|
|
*/
|
|
|
if (needscan) {
|
|
|
xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block,
|
|
|
- &needlog, NULL);
|
|
|
+ &needlog);
|
|
|
needscan = 0;
|
|
|
}
|
|
|
/*
|
|
@@ -418,8 +417,7 @@ xfs_dir2_block_addname(
|
|
|
* Clean up the bestfree array and log the header, tail, and entry.
|
|
|
*/
|
|
|
if (needscan)
|
|
|
- xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog,
|
|
|
- NULL);
|
|
|
+ xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog);
|
|
|
if (needlog)
|
|
|
xfs_dir2_data_log_header(tp, bp);
|
|
|
xfs_dir2_block_log_tail(tp, bp);
|
|
@@ -798,8 +796,7 @@ xfs_dir2_block_removename(
|
|
|
* Fix up bestfree, log the header if necessary.
|
|
|
*/
|
|
|
if (needscan)
|
|
|
- xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog,
|
|
|
- NULL);
|
|
|
+ xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog);
|
|
|
if (needlog)
|
|
|
xfs_dir2_data_log_header(tp, bp);
|
|
|
xfs_dir2_data_check(dp, bp);
|
|
@@ -996,8 +993,7 @@ xfs_dir2_leaf_to_block(
|
|
|
* Scan the bestfree if we need it and log the data block header.
|
|
|
*/
|
|
|
if (needscan)
|
|
|
- xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog,
|
|
|
- NULL);
|
|
|
+ xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog);
|
|
|
if (needlog)
|
|
|
xfs_dir2_data_log_header(tp, dbp);
|
|
|
/*
|