From: Łukasz Plewa
The next version of libpmem will depend on libndctl - as daxctl
depends on libpmem, it will make building packages inconvenient.
This patch replaces libpmem calls with intrinsic functions what
allows to remove a libpmem dependency.
Signed-off-by:
From: Łukasz Plewa
the declaration of ndctl_persistence_domain should be above first use
of this enum
Reported-by: Kamil Diedrich
Signed-off-by: Łukasz Plewa
---
ndctl/libndctl.h | 14 +++---
1 file changed, 7
From: Łukasz Plewa
leak found by PMDK test suite:
==29103== 48 bytes in 4 blocks are definitely lost in loss record 3 of 3
==29103==at 0x4C31C15: realloc (vg_replace_malloc.c:785)
==29103==by 0x5B76F74: parse_lbasize_supported.isra.11 (libndctl.c:4378)
==29103==by 0x5B78967: