aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iomap.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_iomap.c')
-rw-r--r--fs/xfs/xfs_iomap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c
index 3b80ebae05f5..6c5eb4c551e3 100644
--- a/fs/xfs/xfs_iomap.c
+++ b/fs/xfs/xfs_iomap.c
@@ -730,7 +730,7 @@ xfs_iomap_write_allocate(
730 */ 730 */
731 nimaps = 1; 731 nimaps = 1;
732 end_fsb = XFS_B_TO_FSB(mp, XFS_ISIZE(ip)); 732 end_fsb = XFS_B_TO_FSB(mp, XFS_ISIZE(ip));
733 error = xfs_bmap_last_offset(NULL, ip, &last_block, 733 error = xfs_bmap_last_offset(ip, &last_block,
734 XFS_DATA_FORK); 734 XFS_DATA_FORK);
735 if (error) 735 if (error)
736 goto trans_cancel; 736 goto trans_cancel;