No description
Find a file
Amir Goldstein 5b02bfc1e7 ovl: do not encode lower fh with upper sb_writers held
When lower fs is a nested overlayfs, calling encode_fh() on a lower
directory dentry may trigger copy up and take sb_writers on the upper fs
of the lower nested overlayfs.

The lower nested overlayfs may have the same upper fs as this overlayfs,
so nested sb_writers lock is illegal.

Move all the callers that encode lower fh to before ovl_want_write().

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
2023-10-31 00:12:57 +02:00
arch vfs-6.7.ctime 2023-10-30 09:47:13 -10:00
block vfs-6.7.super 2023-10-30 08:59:05 -10:00
certs
crypto
Documentation vfs-6.7.misc 2023-10-30 09:14:19 -10:00
drivers vfs-6.7.ctime 2023-10-30 09:47:13 -10:00
fs ovl: do not encode lower fh with upper sb_writers held 2023-10-31 00:12:57 +02:00
include vfs-6.7.ctime 2023-10-30 09:47:13 -10:00
init
io_uring vfs-6.7.misc 2023-10-30 09:14:19 -10:00
ipc
kernel vfs-6.7.ctime 2023-10-30 09:47:13 -10:00
lib vfs-6.7.iov_iter 2023-10-30 09:24:21 -10:00
LICENSES
mm vfs-6.7.ctime 2023-10-30 09:47:13 -10:00
net vfs-6.7.ctime 2023-10-30 09:47:13 -10:00
rust
samples
scripts vfs-6.7.xattr 2023-10-30 09:29:44 -10:00
security vfs-6.7.ctime 2023-10-30 09:47:13 -10:00
sound vfs-6.7.iov_iter 2023-10-30 09:24:21 -10:00
tools 20 hotfixes. 12 are cc:stable and the remainder address post-6.5 issues 2023-10-24 09:52:16 -10:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap 20 hotfixes. 12 are cc:stable and the remainder address post-6.5 issues 2023-10-24 09:52:16 -10:00
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Char/Misc driver fixes for 6.6-final 2023-10-28 07:51:27 -10:00
Makefile Linux 6.6 2023-10-29 16:31:08 -10: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.