diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-08-03 04:29:32 +0200 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-08-03 04:29:32 +0200 |
commit | e127fafd1d3c46532903d530dfa69822d3d35d8a (patch) | |
tree | dc8180cbf11ad64a2f2cb0998faed4882bed6ebd /fs/xfs/xfs_extfree_item.c | |
parent | xfs: remove the extents array from the rmap update done log item (diff) | |
download | linux-e127fafd1d3c46532903d530dfa69822d3d35d8a.tar.xz linux-e127fafd1d3c46532903d530dfa69822d3d35d8a.zip |
xfs: remove unnecessary parentheses from log redo item recovery functions
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_extfree_item.c')
-rw-r--r-- | fs/xfs/xfs_extfree_item.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/xfs/xfs_extfree_item.c b/fs/xfs/xfs_extfree_item.c index a8c461735ecb..d7bc14906af8 100644 --- a/fs/xfs/xfs_extfree_item.c +++ b/fs/xfs/xfs_extfree_item.c @@ -515,13 +515,13 @@ xfs_efi_recover( * just toss the EFI. */ for (i = 0; i < efip->efi_format.efi_nextents; i++) { - extp = &(efip->efi_format.efi_extents[i]); + extp = &efip->efi_format.efi_extents[i]; startblock_fsb = XFS_BB_TO_FSB(mp, XFS_FSB_TO_DADDR(mp, extp->ext_start)); - if ((startblock_fsb == 0) || - (extp->ext_len == 0) || - (startblock_fsb >= mp->m_sb.sb_dblocks) || - (extp->ext_len >= mp->m_sb.sb_agblocks)) { + if (startblock_fsb == 0 || + extp->ext_len == 0 || + startblock_fsb >= mp->m_sb.sb_dblocks || + extp->ext_len >= mp->m_sb.sb_agblocks) { /* * This will pull the EFI from the AIL and * free the memory associated with it. @@ -539,7 +539,7 @@ xfs_efi_recover( xfs_rmap_skip_owner_update(&oinfo); for (i = 0; i < efip->efi_format.efi_nextents; i++) { - extp = &(efip->efi_format.efi_extents[i]); + extp = &efip->efi_format.efi_extents[i]; error = xfs_trans_free_extent(tp, efdp, extp->ext_start, extp->ext_len, &oinfo); if (error) |