diff options
Diffstat (limited to 'fs/dlm/lock.c')
-rw-r--r-- | fs/dlm/lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c index de943afacb37..b455919c1998 100644 --- a/fs/dlm/lock.c +++ b/fs/dlm/lock.c | |||
@@ -2594,7 +2594,7 @@ static int _create_message(struct dlm_ls *ls, int mb_len, | |||
2594 | pass into lowcomms_commit and a message buffer (mb) that we | 2594 | pass into lowcomms_commit and a message buffer (mb) that we |
2595 | write our data into */ | 2595 | write our data into */ |
2596 | 2596 | ||
2597 | mh = dlm_lowcomms_get_buffer(to_nodeid, mb_len, GFP_KERNEL, &mb); | 2597 | mh = dlm_lowcomms_get_buffer(to_nodeid, mb_len, ls->ls_allocation, &mb); |
2598 | if (!mh) | 2598 | if (!mh) |
2599 | return -ENOBUFS; | 2599 | return -ENOBUFS; |
2600 | 2600 | ||