]> www.infradead.org Git - nvme.git/commit
9p: Use hashtable.h for hash_errmap
authorSasha Levin <sashal@kernel.org>
Thu, 20 Mar 2025 14:52:00 +0000 (10:52 -0400)
committerDominique Martinet <asmadeus@codewreck.org>
Sat, 22 Mar 2025 21:20:48 +0000 (06:20 +0900)
commitad2e2a77dcc7912c737a07fe061d93c414c6745e
treec5395938129465b5e7c0ab450118b65204615113
parent34ceb69edd6cb9581978e0f3e459da4959c0c387
9p: Use hashtable.h for hash_errmap

Convert hash_errmap in error.c to use the generic hashtable
implementation from hashtable.h instead of the manual hlist_head array
implementation.

This simplifies the code and makes it more maintainable by using the
standard hashtable API and removes the need for manual hash table
management.

Signed-off-by: Sasha Levin <sashal@kernel.org>
Message-ID: <20250320145200.3124863-1-sashal@kernel.org>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
net/9p/error.c