cluster/afr: Minor fixes to #8574
* Fixed a bug in afr_selfheal_name_type_mismatch_check() * Fixed indentation * Removed redundant 'continue' statements Change-Id: Ie58b5dec9085ce9fe46ae9f244ebae1b1cef7ac5 BUG: 1132469 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/8586 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
This commit is contained in:
parent
e03559c20a
commit
1f094f2519
@ -291,12 +291,11 @@ afr_selfheal_name_type_mismatch_check (xlator_t *this, struct afr_reply *replies
|
||||
priv->children[i]->name,
|
||||
replies[type_idx].poststat.ia_type,
|
||||
priv->children[type_idx]->name);
|
||||
return -EIO;
|
||||
return -EIO;
|
||||
}
|
||||
inode_type = replies[i].poststat.ia_type;
|
||||
type_idx = i;
|
||||
}
|
||||
inode_type = replies[i].poststat.ia_type;
|
||||
type_idx = i;
|
||||
continue;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@ -345,7 +344,6 @@ afr_selfheal_name_gfid_mismatch_check (xlator_t *this, struct afr_reply *replies
|
||||
|
||||
gfid = &replies[i].poststat.ia_gfid;
|
||||
gfid_idx_iter = i;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user