aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/midcomms.c
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2022-10-27 16:45:22 -0400
committerDavid Teigland <teigland@redhat.com>2022-11-08 12:59:41 -0600
commite1711fe3fd59fa1e34e02add2e9c188441c12021 (patch)
tree6cabe5ace2177a4caba9dbe6b2e1399dc544bd7e /fs/dlm/midcomms.c
parent61bed0baa4dba17dd06cdfe20481a580718d6c7c (diff)
downloadlinux-e1711fe3fd59fa1e34e02add2e9c188441c12021.tar.gz
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>
Diffstat (limited to 'fs/dlm/midcomms.c')
-rw-r--r--fs/dlm/midcomms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/midcomms.c b/fs/dlm/midcomms.c
index e10a6e97df443..3a4e20d6cd2dc 100644
--- a/fs/dlm/midcomms.c
+++ b/fs/dlm/midcomms.c
@@ -1097,7 +1097,7 @@ struct dlm_mhandle *dlm_midcomms_get_mhandle(int nodeid, int len,
/* this is a bug, however we going on and hope it will be resolved */
WARN_ON(test_bit(DLM_NODE_FLAG_STOP_TX, &node->flags));
- mh = dlm_allocate_mhandle();
+ mh = dlm_allocate_mhandle(allocation);
if (!mh)
goto err;