diff options
author | Eric Sandeen <sandeen@redhat.com> | 2014-04-14 04:58:05 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-04-14 04:58:05 -0400 |
commit | 7fb2cd4d32fed48d5fd88e0e922f162c182f5f8c (patch) | |
tree | 2015e6c0100d01c990019e23402f513ee040e3e3 /fs/xfs/xfs_iomap.c | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) |
xfs: remove unused tp arg from xfs_bmap_last_offset() and callers
remove unused transaction pointer from various
callchains leading to xfs_bmap_last_offset().
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_iomap.c')
-rw-r--r-- | fs/xfs/xfs_iomap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index 3b80ebae05f5..6c5eb4c551e3 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c | |||
@@ -730,7 +730,7 @@ xfs_iomap_write_allocate( | |||
730 | */ | 730 | */ |
731 | nimaps = 1; | 731 | nimaps = 1; |
732 | end_fsb = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); | 732 | end_fsb = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); |
733 | error = xfs_bmap_last_offset(NULL, ip, &last_block, | 733 | error = xfs_bmap_last_offset(ip, &last_block, |
734 | XFS_DATA_FORK); | 734 | XFS_DATA_FORK); |
735 | if (error) | 735 | if (error) |
736 | goto trans_cancel; | 736 | goto trans_cancel; |