summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_bmap_item.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-08-27 03:06:04 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2019-08-28 18:31:02 +0300
commit3e08f42ae7828bac2e7445a950f5de2b08203352 (patch)
tree1c787bf3ce4f86ab8101fa10b7a9a75699600822 /fs/xfs/xfs_bmap_item.c
parent74b4c5d4a9c073162a37d1c20c95cb33152ca474 (diff)
downloadlinux-3e08f42ae7828bac2e7445a950f5de2b08203352.tar.xz
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.c4
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);