No description
Find a file
Keith Busch c32d5491c8 block: fix infinite loop for invalid zone append
[ Upstream commit b82d9fa257 ]

Returning 0 early from __bio_iov_append_get_pages() for the
max_append_sectors warning just creates an infinite loop since 0 means
success, and the bio will never fill from the unadvancing iov_iter. We
could turn the return into an error value, but it will already be turned
into an error value later on, so just remove the warning. Clearly no one
ever hit it anyway.

Fixes: 0512a75b98 ("block: Introduce REQ_OP_ZONE_APPEND")
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20220610195830.3574005-2-kbusch@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-21 15:15:34 +02:00
arch arm64: cpufeature: Allow different PMU versions in ID_DFR0_EL1 2022-08-21 15:15:33 +02:00
block block: fix infinite loop for invalid zone append 2022-08-21 15:15:34 +02:00
certs
crypto
Documentation x86: Handle idle=nomwait cmdline properly for x86_idle 2022-08-21 15:15:28 +02:00
drivers soc: fsl: guts: machine variable might be unset 2022-08-21 15:15:33 +02:00
fs ext2: Add more validity checks for inode counts 2022-08-21 15:15:28 +02:00
include locking/lockdep: Fix lockdep_init_map_*() confusion 2022-08-21 15:15:33 +02:00
init
ipc
kernel locking/lockdep: Fix lockdep_init_map_*() confusion 2022-08-21 15:15:33 +02:00
lib lockdep: Allow tuning tracing capacity constants. 2022-08-21 15:15:27 +02:00
LICENSES
mm mm/mremap: hold the rmap lock in write mode when moving page table entries. 2022-08-21 15:15:21 +02:00
net netfilter: nf_tables: fix null deref due to zeroed list head 2022-08-21 15:15:27 +02:00
samples
scripts x86/retbleed: Add fine grained Kconfig knobs 2022-07-25 11:26:50 +02:00
security selinux: Add boundary check in put_entry() 2022-08-21 15:15:31 +02:00
sound ALSA: hda/realtek: Add a quirk for HP OMEN 15 (8786) mute LED 2022-08-21 15:15:22 +02:00
tools x86/speculation: Add RSB VM Exit protections 2022-08-11 13:06:47 +02:00
usr
virt KVM: Don't null dereference ops->destroy 2022-07-29 17:19:23 +02:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Makefile: link with -z noexecstack --no-warn-rwx-segments 2022-08-21 15:15:18 +02:00
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.