A mirror of the official Linux kernel repository just in case
Go to file
Wei Yongjun a70985f83c lightnvm: pblk: fix error handling of pblk_lines_init()
In the too many bad blocks error handling case, we should release all
the allocated resources, otherwise it will cause memory leak.

Fixes: 2deeefc02d ("lightnvm: pblk: fail gracefully on line alloc. failure")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-10-09 08:25:08 -06:00
arch This is the 4.19-rc6 release 2018-10-01 08:58:57 -06:00
block blk-mq: complete req in softirq context in case of single queue 2018-10-08 10:50:43 -06:00
certs
crypto
Documentation block: Finish renaming REQ_DISCARD into REQ_OP_DISCARD 2018-10-03 16:12:28 -06:00
drivers lightnvm: pblk: fix error handling of pblk_lines_init() 2018-10-09 08:25:08 -06:00
firmware
fs This is the 4.19-rc6 release 2018-10-01 08:58:57 -06:00
include lightnvm: pblk: fix mapping issue on failed writes 2018-10-09 08:25:07 -06:00
init
ipc
kernel This is the 4.19-rc6 release 2018-10-01 08:58:57 -06:00
lib
LICENSES
mm This is the 4.19-rc6 release 2018-10-01 08:58:57 -06:00
net
samples
scripts
security
sound
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.