Opened 6 years ago

Closed 5 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
Has a Patch: no Platform: All


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 Changed 6 years ago by bonefish

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 Changed 5 years ago by pulkomandy

Resolution: fixed
Status: newclosed

Removed in hrev48670.

Note: See TracTickets for help on using tickets.