diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2017-09-02 09:49:06 -0400 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2017-09-20 09:40:29 +0000 |
commit | 6b30347f65c9590fa1b636e4aed0471dc8eeff07 (patch) | |
tree | 2aed8585cafe8fb17b19c1eed029d96c8fdbe34e /xlators/cluster/afr/src/afr-transaction.c | |
parent | 60ff231644862c0d9351352febdda7b2dfdde994 (diff) |
cluster/ec: fix for BAD_SHIFT, follow-up patch
Address comments to https://review.gluster.org/18067, (Change-Id
I86e15d12939c610c99f5f96c551bb870df20f4b4)
Which was posted as an RFC as an example of a possible alternative
fix to https://review.gluster.org/17860 (Change-Id
I28a3bdd4a357526dba0cf84c262919c05cfa173e)
An alternative fix that preserved the unsignedness of the indexes
throughout, obviating the need to check its value before using it to
shift. (shift by negative number is undefined, as is shift by more
bits than in the type.)
BUG: 1474309
Change-Id: I46fe9cec140d3397463780748f6876251acb06dd
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-transaction.c')
0 files changed, 0 insertions, 0 deletions