pmem / issues

Old issues repo for PMDK.
http://pmem.io
13 stars 7 forks source link

rpmem_persist API not conform documentation #898

Closed RHeideX closed 6 years ago

RHeideX commented 6 years ago

The declaration of rpmem_persist:

int rpmem_persist(RPMEMpool *rpp, size_t offset, size_t length, unsigned lane);

as defined in librpmem.h

is not conform the documented version

int rpmem_persist(RPMEMpool *rpp, size_t offset, size_t length, unsigned lane, unsigned flags);

as described in the documentation

The fifth parameter 'flags' is missing.

Found in currently tested "stable" version: 1.4-50-geff7490

lplewa commented 6 years ago

please check "stable"(1.4) documentation http://pmem.io/pmdk/manpages/linux/v1.4/librpmem/rpmem_persist.3