aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorJie Liu <jeff.liu@oracle.com>2013-06-24 01:37:23 -0400
committerBen Myers <bpm@sgi.com>2013-06-26 13:22:41 -0400
commit43df2ee659d3d854d17686f8f38fc1071b25774b (patch)
tree8c87221ed8533a4809bce72260eff187df6f2344 /fs/xfs
parent427d9fe233ccec3a293be4bcf07f9bac12463a99 (diff)
xfs: Remove the left function variable from xfs_ialloc_get_rec()
This patch clean out the left function variable as it is useless to xfs_ialloc_get_rec(). Signed-off-by: Jie Liu <jeff.liu@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_ialloc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/xfs/xfs_ialloc.c b/fs/xfs/xfs_ialloc.c
index c8f5ae1debf2..4345c53c729c 100644
--- a/fs/xfs/xfs_ialloc.c
+++ b/fs/xfs/xfs_ialloc.c
@@ -615,8 +615,7 @@ xfs_ialloc_get_rec(
615 struct xfs_btree_cur *cur, 615 struct xfs_btree_cur *cur,
616 xfs_agino_t agino, 616 xfs_agino_t agino,
617 xfs_inobt_rec_incore_t *rec, 617 xfs_inobt_rec_incore_t *rec,
618 int *done, 618 int *done)
619 int left)
620{ 619{
621 int error; 620 int error;
622 int i; 621 int i;
@@ -724,12 +723,12 @@ xfs_dialloc_ag(
724 pag->pagl_leftrec != NULLAGINO && 723 pag->pagl_leftrec != NULLAGINO &&
725 pag->pagl_rightrec != NULLAGINO) { 724 pag->pagl_rightrec != NULLAGINO) {
726 error = xfs_ialloc_get_rec(tcur, pag->pagl_leftrec, 725 error = xfs_ialloc_get_rec(tcur, pag->pagl_leftrec,
727 &trec, &doneleft, 1); 726 &trec, &doneleft);
728 if (error) 727 if (error)
729 goto error1; 728 goto error1;
730 729
731 error = xfs_ialloc_get_rec(cur, pag->pagl_rightrec, 730 error = xfs_ialloc_get_rec(cur, pag->pagl_rightrec,
732 &rec, &doneright, 0); 731 &rec, &doneright);
733 if (error) 732 if (error)
734 goto error1; 733 goto error1;
735 } else { 734 } else {