fs: dlm: allow different allocation context per _create_message
authorAlexander Aring <aahringo@redhat.com>
Thu, 27 Oct 2022 20:45:22 +0000 (16:45 -0400)
committerDavid Teigland <teigland@redhat.com>
Tue, 8 Nov 2022 18:59:41 +0000 (12:59 -0600)
commite1711fe3fd59fa1e34e02add2e9c188441c12021
tree6cabe5ace2177a4caba9dbe6b2e1399dc544bd7e
parent61bed0baa4dba17dd06cdfe20481a580718d6c7c
fs: dlm: allow different allocation context per _create_message

This patch allows to give the use control about the allocation context
based on a per message basis. Currently all messages forced to be
created under GFP_NOFS context.

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
fs/dlm/midcomms.c