diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2007-02-10 02:37:16 -0500 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2007-02-10 02:37:16 -0500 |
commit | f7c99b6fc7b3791cd24e0763cd4967d744c164a3 (patch) | |
tree | 543581c6ebe8987ff83b6d8b3425e5c2723bbf3d /fs/xfs/xfs_inode.c | |
parent | 39058a0e12a8b2dcb8f9345ecad52dbcfc120ef7 (diff) |
[XFS] Remove unused argument to xfs_bmap_finish
The firstblock argument to xfs_bmap_finish is not used by that function.
Remove it and cleanup the code a bit.
Patch provided by Eric Sandeen.
SGI-PV: 960196
SGI-Modid: xfs-linux-melb:xfs-kern:28034a
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 295577d67ea0..7efcf2545cfa 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -1699,8 +1699,7 @@ xfs_itruncate_finish( | |||
1699 | * Duplicate the transaction that has the permanent | 1699 | * Duplicate the transaction that has the permanent |
1700 | * reservation and commit the old transaction. | 1700 | * reservation and commit the old transaction. |
1701 | */ | 1701 | */ |
1702 | error = xfs_bmap_finish(tp, &free_list, first_block, | 1702 | error = xfs_bmap_finish(tp, &free_list, &committed); |
1703 | &committed); | ||
1704 | ntp = *tp; | 1703 | ntp = *tp; |
1705 | if (error) { | 1704 | if (error) { |
1706 | /* | 1705 | /* |