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
don't return error if have particaly created objects for file.
[fs/lustre-release.git]
/
lustre
/
lov
/
lov_ea.c
diff --git
a/lustre/lov/lov_ea.c
b/lustre/lov/lov_ea.c
index
564246a
..
a2bda24
100755
(executable)
--- a/
lustre/lov/lov_ea.c
+++ b/
lustre/lov/lov_ea.c
@@
-112,7
+112,7
@@
struct lov_stripe_md *lsm_alloc_plain(int stripe_count, int *size)
return NULL;;
for (i = 0; i < stripe_count; i++) {
- OBD_SLAB_ALLOC
(loi, lov_oinfo_slab, CFS_ALLOC_IO, sizeof(*loi)
);
+ OBD_SLAB_ALLOC
_PTR_GFP(loi, lov_oinfo_slab, CFS_ALLOC_IO
);
if (loi == NULL)
goto err;
lsm->lsm_oinfo[i] = loi;