diff options
author | Alexander Aring <aahringo@redhat.com> | 2024-04-02 22:17:57 +0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2024-04-09 17:58:14 +0300 |
commit | 98808644b920ed7bb33fe7b33d8f09d4e392e6c2 (patch) | |
tree | 18708e42873a24018f6448849d5b2ab51f8c8206 /fs/dlm/midcomms.h | |
parent | ca0dcef7cf6c2f746403eac4ac427bd2115e07a8 (diff) | |
download | linux-98808644b920ed7bb33fe7b33d8f09d4e392e6c2.tar.xz |
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/midcomms.h')
-rw-r--r-- | fs/dlm/midcomms.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/dlm/midcomms.h b/fs/dlm/midcomms.h index e7246fb3ef57..278d26fdeb2c 100644 --- a/fs/dlm/midcomms.h +++ b/fs/dlm/midcomms.h @@ -16,8 +16,7 @@ struct midcomms_node; int dlm_validate_incoming_buffer(int nodeid, unsigned char *buf, int len); int dlm_process_incoming_buffer(int nodeid, unsigned char *buf, int buflen); -struct dlm_mhandle *dlm_midcomms_get_mhandle(int nodeid, int len, - gfp_t allocation, char **ppc); +struct dlm_mhandle *dlm_midcomms_get_mhandle(int nodeid, int len, char **ppc); void dlm_midcomms_commit_mhandle(struct dlm_mhandle *mh, const void *name, int namelen); int dlm_midcomms_addr(int nodeid, struct sockaddr_storage *addr, int len); |