From: Steven Whitehouse <swhiteho@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] DLM: use gfp_t
Date: Fri, 06 Oct 2006 15:33:15 +0100 [thread overview]
Message-ID: <1160145195.11901.762.camel@quoit.chygwyn.com> (raw)
In-Reply-To: <20061005150243.GA2559@martell.zuzino.mipt.ru>
Hi,
This is now applied to the gfs2 -fixes git tree. Thanks,
Steve.
On Thu, 2006-10-05 at 19:02 +0400, Alexey Dobriyan wrote:
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
> ---
>
> fs/dlm/lowcomms.c | 6 +++---
> fs/dlm/lowcomms.h | 2 +-
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> --- a/fs/dlm/lowcomms.c
> +++ b/fs/dlm/lowcomms.c
> @@ -174,7 +174,7 @@ static int nodeid_to_addr(int nodeid, st
> return 0;
> }
>
> -static struct nodeinfo *nodeid2nodeinfo(int nodeid, int alloc)
> +static struct nodeinfo *nodeid2nodeinfo(int nodeid, gfp_t alloc)
> {
> struct nodeinfo *ni;
> int r;
> @@ -726,7 +726,7 @@ static int init_sock(void)
> }
>
>
> -static struct writequeue_entry *new_writequeue_entry(int allocation)
> +static struct writequeue_entry *new_writequeue_entry(gfp_t allocation)
> {
> struct writequeue_entry *entry;
>
> @@ -748,7 +748,7 @@ static struct writequeue_entry *new_writ
> return entry;
> }
>
> -void *dlm_lowcomms_get_buffer(int nodeid, int len, int allocation, char **ppc)
> +void *dlm_lowcomms_get_buffer(int nodeid, int len, gfp_t allocation, char **ppc)
> {
> struct writequeue_entry *e;
> int offset = 0;
> --- a/fs/dlm/lowcomms.h
> +++ b/fs/dlm/lowcomms.h
> @@ -19,7 +19,7 @@ void dlm_lowcomms_exit(void);
> int dlm_lowcomms_start(void);
> void dlm_lowcomms_stop(void);
> int dlm_lowcomms_close(int nodeid);
> -void *dlm_lowcomms_get_buffer(int nodeid, int len, int allocation, char **ppc);
> +void *dlm_lowcomms_get_buffer(int nodeid, int len, gfp_t allocation, char **ppc);
> void dlm_lowcomms_commit_buffer(void *mh);
>
> #endif /* __LOWCOMMS_DOT_H__ */
>
prev parent reply other threads:[~2006-10-06 14:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-05 15:02 [Cluster-devel] [PATCH] DLM: use gfp_t Alexey Dobriyan
2006-10-06 14:33 ` Steven Whitehouse [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1160145195.11901.762.camel@quoit.chygwyn.com \
--to=swhiteho@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).