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
LU-9679 libcfs: Add CFS_ALLOC_PTR_ARRAY and free
[fs/lustre-release.git]
/
lnet
/
lnet
/
lib-ptl.c
diff --git
a/lnet/lnet/lib-ptl.c
b/lnet/lnet/lib-ptl.c
index
560ef06
..
abdd6ae
100644
(file)
--- a/
lnet/lnet/lib-ptl.c
+++ b/
lnet/lnet/lib-ptl.c
@@
-775,7
+775,7
@@
lnet_ptl_cleanup(struct lnet_portal *ptl)
}
}
/* the extra entry is for MEs with ignore bits */
-
LIBCFS_FREE(mhash, sizeof(*mhash) * (LNET_MT_HASH_SIZE + 1)
);
+
CFS_FREE_PTR_ARRAY(mhash, LNET_MT_HASH_SIZE + 1
);
}
cfs_percpt_free(ptl->ptl_mtables);