staging: lustre: ldlm: store name directly in namespace.
authorNeilBrown <neilb@suse.com>
Tue, 1 May 2018 03:52:38 +0000 (13:52 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2018 01:44:47 +0000 (18:44 -0700)
commit648ae363628c84faa8d8861e3246e096b8c0a392
treedd98ef2dcb4c8884e0344ebb3e4d38911720f07d
parent7f907bf69d590ee685c49a67a6eb47e8b2955ceb
staging: lustre: ldlm: store name directly in namespace.

Rather than storing the name of a namespace in the
hash table, store it directly in the namespace.
This will allow the hashtable to be changed to use
rhashtable.

Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <andreas.dilger@dilger.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lustre_dlm.h
drivers/staging/lustre/lustre/ldlm/ldlm_resource.c