On 08/03/2012 08:00 PM, Eric Dumazet wrote:
> On Fri, 2012-08-03 at 16:23 +0200, Sasha Levin wrote:
>> /* initialize hash table */
>> -for (bucket = 0; bucket < ERRHASHSZ; bucket++)
>> -INIT_HLIST_HEAD(&hash_errmap[bucket]);
>> +hash_init(&hash_errmap, ERRHASHSZ);
>
> Why
On Fri, 2012-08-03 at 16:23 +0200, Sasha Levin wrote:
> Switch 9p error table to use the new hashtable implementation. This reduces
> the amount of
> generic unrelated code in 9p.
>
> Signed-off-by: Sasha Levin
> ---
> net/9p/error.c | 17 -
> 1 files changed, 8 insertions(+),
Switch 9p error table to use the new hashtable implementation. This reduces the
amount of
generic unrelated code in 9p.
Signed-off-by: Sasha Levin
---
net/9p/error.c | 17 -
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/net/9p/error.c b/net/9p/error.c
index 2a
3 matches
Mail list logo