[PATCH 0/6] misc cleanups and error path fixes

From: Rakesh Pandit
Date: Sun Oct 01 2017 - 09:22:26 EST

For 4.15.

These are last set of cleanups, error path fixes most likely and also
some memory leak. Also removes stale symbols from lightnvm.h. In
addition remove exported symbols which are no where used (except
locally in core).

Everything is based on top of:
https://github.com/OpenChannelSSD/linux branch for-4.15/pblk

So, they can be queued on top of patches already submitted earlier for
4.15. Most of them are trivial found while reading algorithms used
during ALPSS yesterday or day before.

Rakesh Pandit (6):
lightnvm: pblk: remove useless line
lightnvm: pblk: reduce arguments in __pblk_rb_update_l2p
lightnvm: remove unused argument from nvm_set_tgt_bb_tbl
lightnvm: remove stable extern and unused exported symbols
lightnvm: pblk: free up mempool allocation for erases correctly
lightnvm: pblk: fix releases of kmem cache in error path

drivers/lightnvm/core.c | 138 +++++++++++++++++++++----------------------
drivers/lightnvm/pblk-core.c | 1 -
drivers/lightnvm/pblk-init.c | 24 +++++++-
drivers/lightnvm/pblk-rb.c | 12 ++--
drivers/lightnvm/pblk.h | 1 +
include/linux/lightnvm.h | 7 ---
6 files changed, 94 insertions(+), 89 deletions(-)