mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
xfs: remove pointless error goto in xfs_bmap_remap_alloc
The commit:
f65306ea xfs: map an inode's offset to an exact physical block
added a pointless error0: target; remove it.
Addresses-Coverity-Id: 1373865
Signed-off-by: Eric Sandeen <[email protected]>
Reviewed-by: Bill O'Donnell <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
This commit is contained in:
parent
0ee7a3f6b5
commit
fe23759eaf
1 changed files with 0 additions and 3 deletions
|
|
@ -3974,9 +3974,6 @@ xfs_bmap_remap_alloc(
|
|||
* allocating, so skip that check by pretending to be freeing.
|
||||
*/
|
||||
error = xfs_alloc_fix_freelist(&args, XFS_ALLOC_FLAG_FREEING);
|
||||
if (error)
|
||||
goto error0;
|
||||
error0:
|
||||
xfs_perag_put(args.pag);
|
||||
if (error)
|
||||
trace_xfs_bmap_remap_alloc_error(ap->ip, error, _RET_IP_);
|
||||
|
|
|
|||
Loading…
Reference in a new issue