mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 08:31:13 +00:00
[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>
This commit is contained in:
parent
39058a0e12
commit
f7c99b6fc7
9 changed files with 25 additions and 35 deletions
|
@ -4080,7 +4080,7 @@ xfs_bmap_add_attrfork(
|
|||
} else
|
||||
XFS_SB_UNLOCK(mp, s);
|
||||
}
|
||||
if ((error = xfs_bmap_finish(&tp, &flist, firstblock, &committed)))
|
||||
if ((error = xfs_bmap_finish(&tp, &flist, &committed)))
|
||||
goto error2;
|
||||
error = xfs_trans_commit(tp, XFS_TRANS_PERM_LOG_RES, NULL);
|
||||
ASSERT(ip->i_df.if_ext_max ==
|
||||
|
@ -4213,7 +4213,6 @@ int /* error */
|
|||
xfs_bmap_finish(
|
||||
xfs_trans_t **tp, /* transaction pointer addr */
|
||||
xfs_bmap_free_t *flist, /* i/o: list extents to free */
|
||||
xfs_fsblock_t firstblock, /* controlled ag for allocs */
|
||||
int *committed) /* xact committed or not */
|
||||
{
|
||||
xfs_efd_log_item_t *efd; /* extent free data */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue