]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dlm: cleanup memory allocation helpers
authorAlexander Aring <aahringo@redhat.com>
Fri, 2 Aug 2024 17:26:38 +0000 (13:26 -0400)
committerDavid Teigland <teigland@redhat.com>
Thu, 8 Aug 2024 20:14:41 +0000 (15:14 -0500)
commit116978854427fd7abbeb328768e75b49a7298520
treeabae8138a8d115851bbe040e3cc622b8765ba328
parentde9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed
dlm: cleanup memory allocation helpers

This patch removes a unnecessary parameter from DLM memory allocation
helpers and reduce some functions by just directly reply the pointer
address of the allocated memory.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lock.c
fs/dlm/memory.c
fs/dlm/memory.h