[PATCH] daxctl: remove libpmem dependency

2017-11-09 Thread lukasz . plewa
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:

[PATCH] ndctl: fix ndctl_persistence_domain declaration

2018-04-06 Thread lukasz . plewa
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

[PATCH 1/1] ndctl: fix memory leak in libndctl

2019-02-20 Thread Lukasz Plewa
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: