[PATCH 7/8] lightnvm: pblk: refactor init/exit sequences

2018-02-13 Thread Javier González
Refactor init and exit sequences to improve readability. In the way, fix bad free ordering on the init error path. Signed-off-by: Javier González --- drivers/lightnvm/pblk-init.c | 503 ++- 1 file changed, 254 insertions(+), 249

[PATCH 7/8] lightnvm: pblk: refactor init/exit sequences

2018-02-13 Thread Javier González
Refactor init and exit sequences to improve readability. In the way, fix bad free ordering on the init error path. Signed-off-by: Javier González --- drivers/lightnvm/pblk-init.c | 503 ++- 1 file changed, 254 insertions(+), 249 deletions(-) diff --git