shared/io-ell: Add reference count to io structure
authorInga Stotland <inga.stotland@intel.com>
Fri, 25 Sep 2020 22:38:49 +0000 (15:38 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:33 +0000 (19:08 +0530)
commit0f6673d87e7e7b0f0b1a7489817d4bc4499f693a
treebaa2f0ae1b732dd486a5928604601dd6f49fbc19
parent6b9cd40a2f3514be9672cb1424fb64d5eabbb7de
shared/io-ell: Add reference count to io structure

This adds reference count to io wrapper structure.
Also, correctly handles IO destroy case by unsetting
read/write/disconnect halers and freeing the corresponding
resources.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/shared/io-ell.c