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
2023-10-30 09:47:13 -10:00
2023-10-30 08:59:05 -10:00
2023-10-30 09:14:19 -10:00
2023-10-30 09:47:13 -10:00
2023-10-30 09:47:13 -10:00
2023-10-30 09:14:19 -10:00
2023-10-30 09:47:13 -10:00
2023-10-30 09:24:21 -10:00
2023-10-30 09:47:13 -10:00
2023-10-30 09:47:13 -10:00
2023-10-19 16:40:00 +02:00
2023-08-30 20:36:01 -07:00
2023-10-30 09:29:44 -10:00
2023-10-30 09:47:13 -10:00
2023-10-30 09:24:21 -10:00
2023-09-07 13:52:20 -07:00
2022-09-28 09:02:20 +02:00
2022-10-10 12:00:45 -07:00
2023-10-29 16:31:08 -10:00

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.
Description
No description provided
Readme 5.7 GiB
Languages
C 97.6%
Assembly 1%
Shell 0.5%
Python 0.3%
Makefile 0.3%