summaryrefslogtreecommitdiff
path: root/fs/dlm/lowcomms.h
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2024-04-02 15:17:57 -0400
committerDavid Teigland <teigland@redhat.com>2024-04-09 09:58:14 -0500
commit98808644b920ed7bb33fe7b33d8f09d4e392e6c2 (patch)
tree18708e42873a24018f6448849d5b2ab51f8c8206 /fs/dlm/lowcomms.h
parentca0dcef7cf6c2f746403eac4ac427bd2115e07a8 (diff)
downloadlinux-next-98808644b920ed7bb33fe7b33d8f09d4e392e6c2.tar.gz
linux-next-98808644b920ed7bb33fe7b33d8f09d4e392e6c2.zip
dlm: remove allocation parameter in msg allocation
Remove the context parameter for message allocations and always use GFP_ATOMIC. This prepares for softirq message processing. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/lowcomms.h')
-rw-r--r--fs/dlm/lowcomms.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/dlm/lowcomms.h b/fs/dlm/lowcomms.h
index 3e8dca66183b..8deb16f8f620 100644
--- a/fs/dlm/lowcomms.h
+++ b/fs/dlm/lowcomms.h
@@ -39,9 +39,8 @@ void dlm_lowcomms_stop(void);
void dlm_lowcomms_init(void);
void dlm_lowcomms_exit(void);
int dlm_lowcomms_close(int nodeid);
-struct dlm_msg *dlm_lowcomms_new_msg(int nodeid, int len, gfp_t allocation,
- char **ppc, void (*cb)(void *data),
- void *data);
+struct dlm_msg *dlm_lowcomms_new_msg(int nodeid, int len, char **ppc,
+ void (*cb)(void *data), void *data);
void dlm_lowcomms_commit_msg(struct dlm_msg *msg);
void dlm_lowcomms_put_msg(struct dlm_msg *msg);
int dlm_lowcomms_resend_msg(struct dlm_msg *msg);