Commit bf99971c authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Darrick J. Wong

xfs: remove a duplicate assignment in xfs_bmap_add_extent_delay_real

Reported-by: default avatarBrian Foster <bfoster@redhat.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarBrian Foster <bfoster@redhat.com>
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
parent 1bfd7618
...@@ -1765,7 +1765,7 @@ xfs_bmap_add_extent_delay_real( ...@@ -1765,7 +1765,7 @@ xfs_bmap_add_extent_delay_real(
LEFT.br_blockcount += new->br_blockcount; LEFT.br_blockcount += new->br_blockcount;
xfs_iext_update_extent(bma->ip, state, bma->idx - 1, &LEFT); xfs_iext_update_extent(bma->ip, state, bma->idx - 1, &LEFT);
PREV.br_blockcount = temp = PREV.br_blockcount - new->br_blockcount; PREV.br_blockcount = temp;
PREV.br_startoff += new->br_blockcount; PREV.br_startoff += new->br_blockcount;
PREV.br_startblock = nullstartblock(da_new); PREV.br_startblock = nullstartblock(da_new);
xfs_iext_update_extent(bma->ip, state, bma->idx, &PREV); xfs_iext_update_extent(bma->ip, state, bma->idx, &PREV);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment