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_bmap.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_bmap.c')
-rw-r--r-- | fs/xfs/xfs_bmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c index fa459a184b8a..20b6922e2729 100644 --- a/fs/xfs/xfs_bmap.c +++ b/fs/xfs/xfs_bmap.c | |||
@@ -4080,7 +4080,7 @@ xfs_bmap_add_attrfork( | |||
4080 | } else | 4080 | } else |
4081 | XFS_SB_UNLOCK(mp, s); | 4081 | XFS_SB_UNLOCK(mp, s); |
4082 | } | 4082 | } |
4083 | if ((error = xfs_bmap_finish(&tp, &flist, firstblock, &committed))) | 4083 | if ((error = xfs_bmap_finish(&tp, &flist, &committed))) |
4084 | goto error2; | 4084 | goto error2; |
4085 | error = xfs_trans_commit(tp, XFS_TRANS_PERM_LOG_RES, NULL); | 4085 | error = xfs_trans_commit(tp, XFS_TRANS_PERM_LOG_RES, NULL); |
4086 | ASSERT(ip->i_df.if_ext_max == | 4086 | ASSERT(ip->i_df.if_ext_max == |
@@ -4213,7 +4213,6 @@ int /* error */ | |||
4213 | xfs_bmap_finish( | 4213 | xfs_bmap_finish( |
4214 | xfs_trans_t **tp, /* transaction pointer addr */ | 4214 | xfs_trans_t **tp, /* transaction pointer addr */ |
4215 | xfs_bmap_free_t *flist, /* i/o: list extents to free */ | 4215 | xfs_bmap_free_t *flist, /* i/o: list extents to free */ |
4216 | xfs_fsblock_t firstblock, /* controlled ag for allocs */ | ||
4217 | int *committed) /* xact committed or not */ | 4216 | int *committed) /* xact committed or not */ |
4218 | { | 4217 | { |
4219 | xfs_efd_log_item_t *efd; /* extent free data */ | 4218 | xfs_efd_log_item_t *efd; /* extent free data */ |