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
OBD_SLAB_ALLOC_PTR_SAFE() is a new OBD_ macro for slab allocation that uses CFS_ALLOC...
[fs/lustre-release.git]
/
lustre
/
obdclass
/
cl_lock.c
diff --git
a/lustre/obdclass/cl_lock.c
b/lustre/obdclass/cl_lock.c
index
1dae0f8
..
c3dd3c4
100644
(file)
--- a/
lustre/obdclass/cl_lock.c
+++ b/
lustre/obdclass/cl_lock.c
@@
-332,7
+332,7
@@
static struct cl_lock *cl_lock_alloc(const struct lu_env *env,
struct cl_site *site = cl_object_site(obj);
ENTRY;
- OBD_SLAB_ALLOC_PTR
(lock, cl_lock_kmem
);
+ OBD_SLAB_ALLOC_PTR
_GFP(lock, cl_lock_kmem, CFS_ALLOC_IO
);
if (lock != NULL) {
atomic_set(&lock->cll_ref, 1);
lock->cll_descr = *descr;