diff options
| author | Anand V. Avati <avati@gluster.com> | 2009-02-23 17:18:53 +0530 | 
|---|---|---|
| committer | Anand V. Avati <avati@amp.gluster.com> | 2009-02-23 21:02:27 +0530 | 
| commit | d47eb5d681b79b32b838505b6e22c4ab627ba934 (patch) | |
| tree | 955a1528269386dbd25f791c81d26206a8b57ece | |
| parent | f264f69ae96ade536dc6f5b8c1ce2579839d6222 (diff) | |
DHT TEA hashfn bugfix2.0.0rc2
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
| -rw-r--r-- | xlators/cluster/dht/src/dht-hashfn-tea.c | 5 | 
1 files changed, 0 insertions, 5 deletions
diff --git a/xlators/cluster/dht/src/dht-hashfn-tea.c b/xlators/cluster/dht/src/dht-hashfn-tea.c index 8437b495541..248567a38c1 100644 --- a/xlators/cluster/dht/src/dht-hashfn-tea.c +++ b/xlators/cluster/dht/src/dht-hashfn-tea.c @@ -104,10 +104,6 @@ dht_hashfn_tea (const char *msg, int len)  		tearound (PARTROUNDS, &array[0], &h0, &h1);  	} -	if ((len % 16) == 0) { -		goto done; -	} -  	for (j = 0; j < 4; j++) {  		if (full_words) {  			word     = *intmsg; @@ -126,7 +122,6 @@ dht_hashfn_tea (const char *msg, int len)  	}  	tearound (FULLROUNDS, &array[0], &h0, &h1); -done:  	return h0 ^ h1;  }  | 
