aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/memory.h
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/memory.h
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/memory.h')
-rw-r--r--fs/dlm/memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/memory.h b/fs/dlm/memory.h
index c1583ec8b2cfe..6b29563d24f78 100644
--- a/fs/dlm/memory.h
+++ b/fs/dlm/memory.h
@@ -20,7 +20,7 @@ struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls);
void dlm_free_lkb(struct dlm_lkb *l);
char *dlm_allocate_lvb(struct dlm_ls *ls);
void dlm_free_lvb(char *l);
-struct dlm_mhandle *dlm_allocate_mhandle(void);
+struct dlm_mhandle *dlm_allocate_mhandle(gfp_t allocation);
void dlm_free_mhandle(struct dlm_mhandle *mhandle);
struct writequeue_entry *dlm_allocate_writequeue(void);
void dlm_free_writequeue(struct writequeue_entry *writequeue);