diff options
| -rw-r--r-- | fs/xfs/libxfs/xfs_bmap.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/xfs/libxfs/xfs_bmap.c b/fs/xfs/libxfs/xfs_bmap.c index 79c981984dca..20d2e96aef6a 100644 --- a/fs/xfs/libxfs/xfs_bmap.c +++ b/fs/xfs/libxfs/xfs_bmap.c | |||
| @@ -5592,12 +5592,8 @@ shift_extent: | |||
| 5592 | XFS_WANT_CORRUPTED_GOTO(i == 1, out_error); | 5592 | XFS_WANT_CORRUPTED_GOTO(i == 1, out_error); |
| 5593 | 5593 | ||
| 5594 | got.br_startoff = startoff; | 5594 | got.br_startoff = startoff; |
| 5595 | error = xfs_bmbt_update(cur, got.br_startoff, got.br_startblock, | 5595 | return xfs_bmbt_update(cur, got.br_startoff, got.br_startblock, |
| 5596 | got.br_blockcount, got.br_state); | 5596 | got.br_blockcount, got.br_state); |
| 5597 | if (error) | ||
| 5598 | return error; | ||
| 5599 | |||
| 5600 | return 0; | ||
| 5601 | 5597 | ||
| 5602 | out_error: | 5598 | out_error: |
| 5603 | return error; | 5599 | return error; |
