diff options
author | Alexander Aring <aahringo@redhat.com> | 2022-10-27 16:45:22 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2022-11-08 12:59:41 -0600 |
commit | e1711fe3fd59fa1e34e02add2e9c188441c12021 (patch) | |
tree | 6cabe5ace2177a4caba9dbe6b2e1399dc544bd7e /fs/dlm/memory.h | |
parent | 61bed0baa4dba17dd06cdfe20481a580718d6c7c (diff) | |
download | linux-stable-e1711fe3fd59fa1e34e02add2e9c188441c12021.tar.gz linux-stable-e1711fe3fd59fa1e34e02add2e9c188441c12021.tar.bz2 linux-stable-e1711fe3fd59fa1e34e02add2e9c188441c12021.zip |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/memory.h b/fs/dlm/memory.h index c1583ec8b2cf..6b29563d24f7 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); |