Re: [PATCH] libnvdimm: prevent nvdimm from requesting key when security is disabled

2019-09-23 Thread Johannes Thumshirn
Thanks, Reviewed-by: Johannes Thumshirn -- Johannes ThumshirnSUSE Labs Filesystems jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 21284 (AG Nürnberg)

Re: [PATCH] libnvdimm: prevent nvdimm from requesting key when security is disabled

2019-09-20 Thread Dan Williams
On Thu, Sep 19, 2019 at 4:46 PM Dave Jiang wrote: > > Current implementation attempts to request keys from the keyring even when > security is not enabled. Change behavior so when security is disabled it > will skip key request. > > Signed-off-by: Dave Jiang Patch looks good, but lets also inclu

[PATCH] libnvdimm: prevent nvdimm from requesting key when security is disabled

2019-09-19 Thread Dave Jiang
Current implementation attempts to request keys from the keyring even when security is not enabled. Change behavior so when security is disabled it will skip key request. Signed-off-by: Dave Jiang --- drivers/nvdimm/security.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/nv