Re: [PATCH 1/3] nvme: When scanning namespaces, make sure the drive is not locked

From: Christoph Hellwig
Date: Fri Jun 24 2016 - 04:12:45 EST


On Sun, Jun 19, 2016 at 04:06:32PM -0700, Jethro Beekman wrote:
> + if (nvme_security_is_locked(ctrl, id)) {
> + nvme_remove_namespaces(ctrl);
> + return;
> + }

Should we print some information for the user that we are ignoring
a namespace because it is locked?