diff options
author | Alexander Aring <aahringo@redhat.com> | 2024-05-29 00:12:34 +0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2024-05-31 19:04:54 +0300 |
commit | 4db41bf4f04f75d5bcf52c500cbec11a2e159a06 (patch) | |
tree | b85655c6d3d5d5fa3e79a644b46985e678bfaa2f /scripts/gdb/linux/utils.py | |
parent | f49da8c09f93ad2b220ee44091123aa9693eefde (diff) | |
download | linux-4db41bf4f04f75d5bcf52c500cbec11a2e159a06.tar.xz |
dlm: remove ls_local_handle from struct dlm_ls
This patch removes ls_local_handle from struct dlm_ls as it stores the
ls pointer of the top level structure itesef and this isn't necessary.
There is a lookup functionality to lookup the lockspace in
dlm_find_lockspace_local() but the given input parameter is the pointer
already. This might be more safe to lookup a lockspace but given a wrong
lockspace pointer is a bug in the code and we save the additional lookup
here. The dlm_ls structure can be still hidden by using dlm_lockspace_t
handle pointer.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions