Opened 11 years ago

Closed 9 years ago

#9552 closed enhancement (fixed)

Replace all uses of khash by BOpenHashTable

Reported by: bonefish Owned by: axeld
Priority: normal Milestone: R1
Component: System/Kernel Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #9551
Platform: All

Description

The C style hash implementation in headers/private/kernel/util/khash.h is obsolescent. BOpenHashTable should be used instead. That concerns the kernel sources and some modules/drivers.

Change History (3)

comment:1 by bonefish, 11 years ago

Blocking: 9551 added

(In #9551) To add some details to Axel's terse comment: The value of vnode is not relevant in this case. The used construct is just a replacement for offsetof() for which gcc would issue a warning. It's very ugly, though. I created #9552 for the best way to solve it.

comment:3 by pulkomandy, 9 years ago

Resolution: fixed
Status: newclosed

Removed in hrev48670.

Note: See TracTickets for help on using tickets.