Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Land b_smallfix onto HEAD (20040414_1359)
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
connection.c
diff --git
a/lustre/ptlrpc/connection.c
b/lustre/ptlrpc/connection.c
index
466916b
..
c6a4163
100644
(file)
--- a/
lustre/ptlrpc/connection.c
+++ b/
lustre/ptlrpc/connection.c
@@
-84,7
+84,8
@@
struct ptlrpc_connection *ptlrpc_get_connection(struct ptlrpc_peer *peer,
/* FIXME: this should be a slab once we can validate slab addresses
* without OOPSing */
- OBD_ALLOC(c, sizeof(*c));
+ OBD_ALLOC_GFP(c, sizeof(*c), GFP_ATOMIC);
+
if (c == NULL)
GOTO(out, c);