aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iomap.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2007-02-10 02:37:16 -0500
committerTim Shimmin <tes@sgi.com>2007-02-10 02:37:16 -0500
commitf7c99b6fc7b3791cd24e0763cd4967d744c164a3 (patch)
tree543581c6ebe8987ff83b6d8b3425e5c2723bbf3d /fs/xfs/xfs_iomap.c
parent39058a0e12a8b2dcb8f9345ecad52dbcfc120ef7 (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_iomap.c')
-rw-r--r--fs/xfs/xfs_iomap.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c
index 19655124da78..2069e2c2be75 100644
--- a/fs/xfs/xfs_iomap.c
+++ b/fs/xfs/xfs_iomap.c
@@ -542,7 +542,7 @@ xfs_iomap_write_direct(
542 /* 542 /*
543 * Complete the transaction 543 * Complete the transaction
544 */ 544 */
545 error = xfs_bmap_finish(&tp, &free_list, firstfsb, &committed); 545 error = xfs_bmap_finish(&tp, &free_list, &committed);
546 if (error) 546 if (error)
547 goto error0; 547 goto error0;
548 error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES, NULL); 548 error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES, NULL);
@@ -838,8 +838,7 @@ xfs_iomap_write_allocate(
838 if (error) 838 if (error)
839 goto trans_cancel; 839 goto trans_cancel;
840 840
841 error = xfs_bmap_finish(&tp, &free_list, 841 error = xfs_bmap_finish(&tp, &free_list, &committed);
842 first_block, &committed);
843 if (error) 842 if (error)
844 goto trans_cancel; 843 goto trans_cancel;
845 844
@@ -947,8 +946,7 @@ xfs_iomap_write_unwritten(
947 if (error) 946 if (error)
948 goto error_on_bmapi_transaction; 947 goto error_on_bmapi_transaction;
949 948
950 error = xfs_bmap_finish(&(tp), &(free_list), 949 error = xfs_bmap_finish(&(tp), &(free_list), &committed);
951 firstfsb, &committed);
952 if (error) 950 if (error)
953 goto error_on_bmapi_transaction; 951 goto error_on_bmapi_transaction;
954 952