On Fri, Dec 10, 2021 at 2:34 PM Vishal Verma <[email protected]> wrote: > > From: QI Fuli <[email protected]> > > Add a 'config_path' to ndctl_ctx for supporting ndctl global configuration > files. Any file with a .conf suffix under {sysconfdir}/ndctl.conf.d/ will > be regarded as a global configuration file which can have INI-style config > sections. Add an ndctl_set_config_path() API for setting the default > configuration files' path for ndctl. Add an ndctl_get_config_path() API for > getting ndctl configuration files' path from ndctl_ctx. > > Signed-off-by: QI Fuli <[email protected]> > Signed-off-by: Vishal Verma <[email protected]>
LGTM Reviewed-by: Dan Williams <[email protected]>
