aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir2_block.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2007-05-07 23:48:49 -0400
committerTim Shimmin <tes@sgi.com>2007-05-07 23:48:49 -0400
commitef497f8a1eafe0447f0473940ff2e0f6c8519a14 (patch)
tree94969156273605e4ab09345b0d8995653c941140 /fs/xfs/xfs_dir2_block.c
parent1c72bf90037f32fc2b10e0a05dff2640abce8ee2 (diff)
[XFS] the "aendp" arg to xfs_dir2_data_freescan is always NULL, remove it.
Patch provided by Eric Sandeen. SGI-PV: 961694 SGI-Modid: xfs-linux-melb:xfs-kern:28204a Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_dir2_block.c')
-rw-r--r--fs/xfs/xfs_dir2_block.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/fs/xfs/xfs_dir2_block.c b/fs/xfs/xfs_dir2_block.c
index 9d7438bba30d..3accc1dcd6c9 100644
--- a/fs/xfs/xfs_dir2_block.c
+++ b/fs/xfs/xfs_dir2_block.c
@@ -282,8 +282,7 @@ xfs_dir2_block_addname(
282 * This needs to happen before the next call to use_free. 282 * This needs to happen before the next call to use_free.
283 */ 283 */
284 if (needscan) { 284 if (needscan) {
285 xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, 285 xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog);
286 &needlog, NULL);
287 needscan = 0; 286 needscan = 0;
288 } 287 }
289 } 288 }
@@ -333,7 +332,7 @@ xfs_dir2_block_addname(
333 */ 332 */
334 if (needscan) { 333 if (needscan) {
335 xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, 334 xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block,
336 &needlog, NULL); 335 &needlog);
337 needscan = 0; 336 needscan = 0;
338 } 337 }
339 /* 338 /*
@@ -418,8 +417,7 @@ xfs_dir2_block_addname(
418 * Clean up the bestfree array and log the header, tail, and entry. 417 * Clean up the bestfree array and log the header, tail, and entry.
419 */ 418 */
420 if (needscan) 419 if (needscan)
421 xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog, 420 xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog);
422 NULL);
423 if (needlog) 421 if (needlog)
424 xfs_dir2_data_log_header(tp, bp); 422 xfs_dir2_data_log_header(tp, bp);
425 xfs_dir2_block_log_tail(tp, bp); 423 xfs_dir2_block_log_tail(tp, bp);
@@ -798,8 +796,7 @@ xfs_dir2_block_removename(
798 * Fix up bestfree, log the header if necessary. 796 * Fix up bestfree, log the header if necessary.
799 */ 797 */
800 if (needscan) 798 if (needscan)
801 xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog, 799 xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog);
802 NULL);
803 if (needlog) 800 if (needlog)
804 xfs_dir2_data_log_header(tp, bp); 801 xfs_dir2_data_log_header(tp, bp);
805 xfs_dir2_data_check(dp, bp); 802 xfs_dir2_data_check(dp, bp);
@@ -996,8 +993,7 @@ xfs_dir2_leaf_to_block(
996 * Scan the bestfree if we need it and log the data block header. 993 * Scan the bestfree if we need it and log the data block header.
997 */ 994 */
998 if (needscan) 995 if (needscan)
999 xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog, 996 xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog);
1000 NULL);
1001 if (needlog) 997 if (needlog)
1002 xfs_dir2_data_log_header(tp, dbp); 998 xfs_dir2_data_log_header(tp, dbp);
1003 /* 999 /*