On Wed, Oct 2, 2019 at 4:49 PM Vishal Verma <[email protected]> wrote: > > The {online,offline}_one_memblock() helpers both open-coded the check > for whether a block is online. There is already a function to perform > this check - memblock_is_online(). Consolidate the checking using this > helper everywhere it is applicable. > > Cc: Dan Williams <[email protected]> > Signed-off-by: Vishal Verma <[email protected]> > --- > daxctl/lib/libdaxctl.c | 90 +++++++++++++++++------------------------- > 1 file changed, 37 insertions(+), 53 deletions(-)
Looks good, Reviewed-by: Dan Williams <[email protected]> _______________________________________________ Linux-nvdimm mailing list -- [email protected] To unsubscribe send an email to [email protected]
