]> www.infradead.org Git - users/sagi/libnvme.git/commit
tree: always allocate config file in nvme_read_config()
authorHannes Reinecke <hare@suse.de>
Fri, 1 Apr 2022 11:28:11 +0000 (13:28 +0200)
committerHannes Reinecke <hare@suse.de>
Fri, 1 Apr 2022 11:28:11 +0000 (13:28 +0200)
commit65c4f64c97e964f9526f992cd151493d21e981d1
treec72afed99699923635f534d71a3c9547c720da8e
parent451b365353576e36a3b8852728e9cec1190c9c96
tree: always allocate config file in nvme_read_config()

Even if there was an error when reading the config file we still
should store the config file name, as it might used later on to
update/write the config file.
So parsing errors don't really matter, and we'll get notified for
I/O errors on writing anyway.

Signed-off-by: Hannes Reinecke <hare@suse.de>
src/nvme/tree.c