env: fix typo in spdk_mempool_create_ctor

Change-Id: I1370df82b259afd9f3fcc2c37409e20fd35dff5f
Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/392497
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
Xiaodong Liu 2017-12-20 05:58:33 -05:00 committed by Daniel Verkamp
parent de7760df1e
commit 68008f3ec5

View File

@ -169,8 +169,8 @@ typedef void (spdk_mempool_obj_cb_t)(struct spdk_mempool *mp,
* SPDK_MEMPOOL_DEFAULT_CACHE_SIZE for a reasonable default, or 0 for no * SPDK_MEMPOOL_DEFAULT_CACHE_SIZE for a reasonable default, or 0 for no
* per-core cache. * per-core cache.
* \param socket_id Socket ID to allocate memory on, or SPDK_ENV_SOCKET_ID_ANY for any socket. * \param socket_id Socket ID to allocate memory on, or SPDK_ENV_SOCKET_ID_ANY for any socket.
* \param obj_init User provided object calll back initialization function. * \param obj_init User provided object calllback initialization function.
* \paam obj_init_arg User provided callback initialization function argument. * \param obj_init_arg User provided callback initialization function argument.
*/ */
struct spdk_mempool *spdk_mempool_create_ctor(const char *name, size_t count, struct spdk_mempool *spdk_mempool_create_ctor(const char *name, size_t count,
size_t ele_size, size_t cache_size, int socket_id, size_t ele_size, size_t cache_size, int socket_id,