diff options
Diffstat (limited to 'fs/xfs/xfs_iomap.c')
-rw-r--r-- | fs/xfs/xfs_iomap.c | 8 |
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 | ||