Skip to content

Commit

Permalink
[PATCH] dlm gfp_t annotations
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 9, 2006
1 parent 5c09d96 commit 38d6fd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions fs/dlm/lowcomms.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ static int nodeid_to_addr(int nodeid, struct sockaddr *retaddr)
return 0;
}

static struct nodeinfo *nodeid2nodeinfo(int nodeid, int alloc)
static struct nodeinfo *nodeid2nodeinfo(int nodeid, gfp_t alloc)
{
struct nodeinfo *ni;
int r;
Expand Down Expand Up @@ -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;

Expand All @@ -748,7 +748,7 @@ static struct writequeue_entry *new_writequeue_entry(int allocation)
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;
Expand Down
2 changes: 1 addition & 1 deletion fs/dlm/lowcomms.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */
Expand Down

0 comments on commit 38d6fd2

Please sign in to comment.