diff options
| author | Alexander Aring <aahringo@redhat.com> | 2024-04-15 14:39:39 -0400 |
|---|---|---|
| committer | David Teigland <teigland@redhat.com> | 2024-04-16 14:34:39 -0500 |
| commit | 6c648035cbe75d78836f6d7d2fdd9d996048a66b (patch) | |
| tree | e062c9951814bb7f3fcac71332d1ac54ff383e06 /fs/dlm/lock.h | |
| parent | 93a693d19d2a4aeaa5aede5354cc0f749a780374 (diff) | |
dlm: switch to use rhashtable for rsbs
Replace our own hash table with the more advanced rhashtable
for keeping rsb structs.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/lock.h')
| -rw-r--r-- | fs/dlm/lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/lock.h b/fs/dlm/lock.h index 45a74869810a..33616d4b0cdb 100644 --- a/fs/dlm/lock.h +++ b/fs/dlm/lock.h @@ -29,7 +29,7 @@ void dlm_unlock_recovery(struct dlm_ls *ls); int dlm_master_lookup(struct dlm_ls *ls, int from_nodeid, const char *name, int len, unsigned int flags, int *r_nodeid, int *result); -int dlm_search_rsb_tree(struct rb_root *tree, const void *name, int len, +int dlm_search_rsb_tree(struct rhashtable *rhash, const void *name, int len, struct dlm_rsb **r_ret); void dlm_recover_purge(struct dlm_ls *ls, const struct list_head *root_list); |
