Main-line Linux kernel tree http://www.kernel.org
Go to file
David Howells 4090b31422 netfs: Add a function to consolidate beginning a read
Add a function to do the steps needed to begin a read request, allowing
this code to be removed from several other functions and consolidated.

Changes
=======
ver #2)
 - Move before the unstaticking patch so that some functions can be left
   static.
 - Set uninitialised return code in netfs_begin_read()[1][2].
 - Fixed a refleak caused by non-removal of a get from netfs_write_begin()
   when the request submission code got moved to netfs_begin_read().
 - Use INIT_WORK() to (re-)init the request work_struct[3].

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com

Link: https://lore.kernel.org/r/20220303163826.1120936-1-nathan@kernel.org/ [1]
Link: https://lore.kernel.org/r/20220303235647.1297171-1-colin.i.king@gmail.com/ [2]
Link: https://lore.kernel.org/r/9d69be49081bccff44260e4c6e0049c63d6d04a1.camel@redhat.com/ [3]
Link: https://lore.kernel.org/r/164623004355.3564931.7275693529042495641.stgit@warthog.procyon.org.uk/ # v1
Link: https://lore.kernel.org/r/164678214287.1200972.16734134007649832160.stgit@warthog.procyon.org.uk/ # v2
Link: https://lore.kernel.org/r/164692911113.2099075.1060868473229451371.stgit@warthog.procyon.org.uk/ # v3
2022-03-18 09:29:05 +00:00
arch RISC-V Fixes for 5.17-rc6 2022-02-26 10:26:24 -08:00
block
certs
crypto
Documentation netfs: Add a netfs inode context 2022-03-18 09:29:05 +00:00
drivers A single fix for a regression caused by the recent PCI/MSI rework which 2022-02-27 13:07:40 -08:00
fs netfs: Add a function to consolidate beginning a read 2022-03-18 09:29:05 +00:00
include netfs: Add a function to consolidate beginning a read 2022-03-18 09:29:05 +00:00
init
ipc
kernel dma-mapping fix for Linux 5.17 2022-02-27 12:42:37 -08:00
lib kasan: test: prevent cache merging in kmem_cache_double_destroy 2022-02-26 09:51:17 -08:00
LICENSES
mm memblock: use kfree() to release kmalloced memblock regions 2022-02-26 12:00:44 -08:00
net libceph: drop else branches in prepare_read_data{,_cont} 2022-03-01 18:26:36 +01:00
samples
scripts
security selinux/stable-5.17 PR 20220223 2022-02-23 17:19:55 -08:00
sound
tools Tracing fixes for 5.17: 2022-02-26 12:10:17 -08:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap mailmap: update Roman Gushchin's email 2022-02-26 09:51:17 -08:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: add Xiubo Li as cephfs co-maintainer 2022-03-01 18:26:37 +01:00
Makefile Linux 5.17-rc6 2022-02-27 14:36:33 -08: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.