diff options
Diffstat (limited to 'fs/xfs/xfs_bmap.c')
-rw-r--r-- | fs/xfs/xfs_bmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c index cf4dee01983a..3c4beb3a4326 100644 --- a/fs/xfs/xfs_bmap.c +++ b/fs/xfs/xfs_bmap.c | |||
@@ -1740,9 +1740,9 @@ xfs_bmap_add_extent_unwritten_real( | |||
1740 | r[1].br_state))) | 1740 | r[1].br_state))) |
1741 | goto done; | 1741 | goto done; |
1742 | /* new left extent - oldext */ | 1742 | /* new left extent - oldext */ |
1743 | PREV.br_blockcount = | ||
1744 | new->br_startoff - PREV.br_startoff; | ||
1745 | cur->bc_rec.b = PREV; | 1743 | cur->bc_rec.b = PREV; |
1744 | cur->bc_rec.b.br_blockcount = | ||
1745 | new->br_startoff - PREV.br_startoff; | ||
1746 | if ((error = xfs_bmbt_insert(cur, &i))) | 1746 | if ((error = xfs_bmbt_insert(cur, &i))) |
1747 | goto done; | 1747 | goto done; |
1748 | XFS_WANT_CORRUPTED_GOTO(i == 1, done); | 1748 | XFS_WANT_CORRUPTED_GOTO(i == 1, done); |