On Fri, Feb 2, 2018 at 7:15 AM, Plewa, Lukasz <lukasz.plewa(a)intel.com> wrote:
This fix will not work, as daxctl_ctx is freed before free_dax() and
daxctl_region_unref() tries to update daxctl_ctx.
Ah true, we need to take and hold another daxctl_ctx reference for
each daxctl_region and unref the daxctl_ctx for each daxctl_region.