diff options
author | Darrick J. Wong | 2019-08-26 17:06:04 -0700 |
---|---|---|
committer | Darrick J. Wong | 2019-08-28 08:31:02 -0700 |
commit | 3e08f42ae7828bac2e7445a950f5de2b08203352 (patch) | |
tree | 1c787bf3ce4f86ab8101fa10b7a9a75699600822 /fs/xfs/xfs_bmap_item.c | |
parent | 74b4c5d4a9c073162a37d1c20c95cb33152ca474 (diff) |
xfs: remove unnecessary int returns from deferred bmap functions
Remove the return value from the functions that schedule deferred bmap
operations since they never fail and do not return status.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_bmap_item.c')
-rw-r--r-- | fs/xfs/xfs_bmap_item.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/xfs_bmap_item.c b/fs/xfs/xfs_bmap_item.c index 989163e1f900..83d24e983d4c 100644 --- a/fs/xfs/xfs_bmap_item.c +++ b/fs/xfs/xfs_bmap_item.c @@ -542,9 +542,7 @@ xfs_bui_recover( irec.br_blockcount = count; irec.br_startoff = bmap->me_startoff; irec.br_state = state; - error = xfs_bmap_unmap_extent(tp, ip, &irec); - if (error) - goto err_inode; + xfs_bmap_unmap_extent(tp, ip, &irec); } set_bit(XFS_BUI_RECOVERED, &buip->bui_flags); |