diff options
author | Eric Sandeen <sandeen@redhat.com> | 2014-04-14 05:01:59 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-04-14 05:01:59 -0400 |
commit | 9df2dd0b0d2aad3ce2480e0618bfe14d37c017a3 (patch) | |
tree | 2c82e6ddc682019875dcc0bc7a650b80ce106cd5 /fs/xfs/xfs_dir2_readdir.c | |
parent | 72b0636bb7aca50978da60dfbaefc44020e1600e (diff) |
xfs: remove unused tp arg from xfs_da_reada_buf & callers
This one hits a few functions as we unravel the unused arg
up through the callers.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_dir2_readdir.c')
-rw-r--r-- | fs/xfs/xfs_dir2_readdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_dir2_readdir.c b/fs/xfs/xfs_dir2_readdir.c index a18000f71426..a99967bd7b6a 100644 --- a/fs/xfs/xfs_dir2_readdir.c +++ b/fs/xfs/xfs_dir2_readdir.c | |||
@@ -434,7 +434,7 @@ xfs_dir2_leaf_readbuf( | |||
434 | */ | 434 | */ |
435 | if (i > mip->ra_current && | 435 | if (i > mip->ra_current && |
436 | map[mip->ra_index].br_blockcount >= mp->m_dirblkfsbs) { | 436 | map[mip->ra_index].br_blockcount >= mp->m_dirblkfsbs) { |
437 | xfs_dir3_data_readahead(NULL, dp, | 437 | xfs_dir3_data_readahead(dp, |
438 | map[mip->ra_index].br_startoff + mip->ra_offset, | 438 | map[mip->ra_index].br_startoff + mip->ra_offset, |
439 | XFS_FSB_TO_DADDR(mp, | 439 | XFS_FSB_TO_DADDR(mp, |
440 | map[mip->ra_index].br_startblock + | 440 | map[mip->ra_index].br_startblock + |
@@ -447,7 +447,7 @@ xfs_dir2_leaf_readbuf( | |||
447 | * use our mapping, but this is a very rare case. | 447 | * use our mapping, but this is a very rare case. |
448 | */ | 448 | */ |
449 | else if (i > mip->ra_current) { | 449 | else if (i > mip->ra_current) { |
450 | xfs_dir3_data_readahead(NULL, dp, | 450 | xfs_dir3_data_readahead(dp, |
451 | map[mip->ra_index].br_startoff + | 451 | map[mip->ra_index].br_startoff + |
452 | mip->ra_offset, -1); | 452 | mip->ra_offset, -1); |
453 | mip->ra_current = i; | 453 | mip->ra_current = i; |