mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
xfs: remove a duplicate assignment in xfs_bmap_add_extent_delay_real
Reported-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
parent
1bfd7618cb
commit
bf99971c82
@ -1765,7 +1765,7 @@ xfs_bmap_add_extent_delay_real(
|
||||
LEFT.br_blockcount += new->br_blockcount;
|
||||
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_startblock = nullstartblock(da_new);
|
||||
xfs_iext_update_extent(bma->ip, state, bma->idx, &PREV);
|
||||
|
Loading…
Reference in New Issue
Block a user