+39
−22
Loading
If we continuous setup and teardown cuse session, It will teardown uninitialized cuse session and cause segment fault, New function cuse_session_create will do the session create operation and under g_cuse_mtx to avoid this issue. Signed-off-by:Weifeng Su <suweifeng1@huawei.com> Change-Id: I2b32e81c0990ede00eea6d4ed3a7e44d534d4df3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8231 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ziye Yang <ziye.yang@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>