Linux mainline fork with MSM8998 patches | https://mainline.space | Currently supported devices: OnePlus 5/5T, Xiaomi Mi 6, F(x)tec Pro¹ (2019 QX1000 model) & Sony Xperia XZ Premium (UNTESTED!)
Find a file
Yu Kuai 02341a08c9 block: fix memory leak for elevator on add_disk failure
The default elevator is allocated in the beginning of device_add_disk(),
however, it's not freed in the following error path.

Fixes: 50e34d7881 ("block: disable the elevator int del_gendisk")
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20221022021615.2756171-1-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-10-22 15:14:38 -06:00
arch powerpc updates for 6.1 2022-10-09 14:05:15 -07:00
block block: fix memory leak for elevator on add_disk failure 2022-10-22 15:14:38 -06:00
certs
crypto
Documentation Documentation: document ublk user recovery feature 2022-10-18 05:12:26 -07:00
drivers drbd: only clone bio if we have a backing device 2022-10-20 05:45:21 -07:00
fs ucounts: Split rlimit and ucount values and max values 2022-10-09 16:24:05 -07:00
include Merge branch 'for-6.1/block' into block-6.1 2022-10-10 11:26:40 -06:00
init powerpc updates for 6.1 2022-10-09 14:05:15 -07:00
io_uring
ipc ipc: mqueue: fix possible memory leak in init_mqueue_fs() 2022-10-09 16:10:22 -07:00
kernel blktrace: remove unnessary stop block trace in 'blk_trace_shutdown' 2022-10-20 06:02:52 -07:00
lib
LICENSES
mm The first batch of KVM patches, mostly covering x86, which I 2022-10-09 09:39:55 -07:00
net
rust
samples
scripts
security powerpc updates for 6.1 2022-10-09 14:05:15 -07:00
sound
tools powerpc updates for 6.1 2022-10-09 14:05:15 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap The first batch of KVM patches, mostly covering x86, which I 2022-10-09 09:39:55 -07:00
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS nvme: add Guenther as nvme-hwmon maintainer 2022-10-19 12:42:43 +02:00
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.

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.