Commit 65c4f64
committed
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 <[email protected]>1 parent 451b365 commit 65c4f64
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
155 | 160 | | |
156 | | - | |
157 | | - | |
158 | 161 | | |
159 | 162 | | |
160 | 163 | | |
| |||
0 commit comments