diff options
author | Yehuda Sadeh <yehuda@hq.newdream.net> | 2010-04-06 17:33:58 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-05-17 18:25:42 -0400 |
commit | 34d23762d988b7dcb08390ac72a353df3d60193c (patch) | |
tree | 3a49d039527548697165da2b8789f3588b95ffed /fs/ceph/messenger.h | |
parent | 23804d91f112df09b832cd091b71af4dc2831aa8 (diff) |
ceph: all allocation functions should get gfp_mask
This is essential, as for the rados block device we'll need
to run in different contexts that would need flags that
are other than GFP_NOFS.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/messenger.h')
-rw-r--r-- | fs/ceph/messenger.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/messenger.h b/fs/ceph/messenger.h index 889f81f093c9..00a9430b1ffc 100644 --- a/fs/ceph/messenger.h +++ b/fs/ceph/messenger.h | |||
@@ -232,7 +232,7 @@ extern void ceph_con_keepalive(struct ceph_connection *con); | |||
232 | extern struct ceph_connection *ceph_con_get(struct ceph_connection *con); | 232 | extern struct ceph_connection *ceph_con_get(struct ceph_connection *con); |
233 | extern void ceph_con_put(struct ceph_connection *con); | 233 | extern void ceph_con_put(struct ceph_connection *con); |
234 | 234 | ||
235 | extern struct ceph_msg *ceph_msg_new(int type, int front_len); | 235 | extern struct ceph_msg *ceph_msg_new(int type, int front_len, gfp_t flags); |
236 | extern void ceph_msg_kfree(struct ceph_msg *m); | 236 | extern void ceph_msg_kfree(struct ceph_msg *m); |
237 | 237 | ||
238 | 238 | ||