Linux kernel source tree
Go to file
Martijn Coenen a7bbde7dfb BACKPORT: loop: Clean up LOOP_SET_STATUS lo_flags handling
LOOP_SET_STATUS(64) will actually allow some lo_flags to be modified; in
particular, LO_FLAGS_AUTOCLEAR can be set and cleared, whereas
LO_FLAGS_PARTSCAN can be set to request a partition scan. Make this
explicit by updating the UAPI to include the flags that can be
set/cleared using this ioctl.

The implementation can then blindly take over the passed in flags,
and use the previous flags for those flags that can't be set / cleared
using LOOP_SET_STATUS.

Signed-off-by: Martijn Coenen <maco@android.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
(cherry picked from commit faf1d25440)
Bug: 148607611
Change-Id: If80c0cce4ef7b1af4753246021981795bbc54ca0
2020-08-10 19:48:02 +02:00
android ANDROID: GKI: update the ABI xml 2020-08-06 12:16:29 -07:00
arch This is the 4.19.138 stable release 2020-08-07 10:09:24 +02:00
block Merge 4.19.133 into android-4.19-stable 2020-07-17 07:54:52 +02:00
certs
crypto This is the 4.19.132 stable release 2020-07-09 11:20:59 +02:00
Documentation This is the 4.19.134 stable release 2020-07-22 13:03:12 +02:00
drivers BACKPORT: loop: Clean up LOOP_SET_STATUS lo_flags handling 2020-08-10 19:48:02 +02:00
firmware Fix built-in early-load Intel microcode alignment 2020-01-23 08:21:29 +01:00
fs This is the 4.19.138 stable release 2020-08-07 10:09:24 +02:00
include BACKPORT: loop: Clean up LOOP_SET_STATUS lo_flags handling 2020-08-10 19:48:02 +02:00
init This is the 4.19.134 stable release 2020-07-22 13:03:12 +02:00
ipc Revert "ANDROID: vfs: Add permission2 for filesystems with per mount permissions" 2020-06-27 15:17:42 +02:00
kernel This is the 4.19.138 stable release 2020-08-07 10:09:24 +02:00
lib This is the 4.19.138 stable release 2020-08-07 10:09:24 +02:00
LICENSES
mm This is the 4.19.135 stable release 2020-07-29 13:22:30 +02:00
net This is the 4.19.137 stable release 2020-08-05 12:07:48 +02:00
samples This is the 4.19.126 stable release 2020-06-03 09:23:15 +02:00
scripts This is the 4.19.135 stable release 2020-07-29 13:22:30 +02:00
security This is the 4.19.134 stable release 2020-07-22 13:03:12 +02:00
sound This is the 4.19.135 stable release 2020-07-29 13:22:30 +02:00
tools This is the 4.19.137 stable release 2020-08-05 12:07:48 +02:00
usr initramfs: restore default compression behavior 2020-04-13 10:44:59 +02:00
virt KVM: arm64: Synchronize sysreg state on injecting an AArch32 exception 2020-06-22 09:05:09 +02:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
build.config.aarch64 ANDROID: add compat cross compiler 2020-04-27 22:52:19 -07:00
build.config.allmodconfig ANDROID: build.config.allmodconfig: Re-enable XFS_FS 2020-04-17 08:41:31 +00:00
build.config.allmodconfig.aarch64 ANDROID: Add allmodconfig build.configs for x86_64 and aarch64 2019-11-12 20:55:23 +00:00
build.config.allmodconfig.arm ANDROID: Add build.config files for ARM 32-bit 2020-03-16 17:43:55 +00:00
build.config.allmodconfig.x86_64 ANDROID: Add allmodconfig build.configs for x86_64 and aarch64 2019-11-12 20:55:23 +00:00
build.config.arm ANDROID: Add build.config files for ARM 32-bit 2020-03-16 17:43:55 +00:00
build.config.common ANDROID: update the kernel release format for GKI 2020-07-27 22:22:43 +00:00
build.config.gki ANDROID: gki: Removed cf modules from gki_defconfig 2020-01-31 16:23:38 -08:00
build.config.gki_kasan ANDROID: Rename build.config.gki.arch_kasan 2020-05-05 20:46:14 +00:00
build.config.gki_kasan.aarch64 ANDROID: Drop ABI monitoring from KASAN build config 2020-05-06 11:13:09 +00:00
build.config.gki_kasan.x86_64 ANDROID: Rename build.config.gki.arch_kasan 2020-05-05 20:46:14 +00:00
build.config.gki-debug.aarch64 ANDROID: build: update ABI definitions 2020-07-28 17:39:44 +00:00
build.config.gki-debug.x86_64 ANDROID: build: update ABI definitions 2020-07-28 17:39:44 +00:00
build.config.gki.aarch64 ANDROID: Enforce KMI stability 2020-08-06 17:11:23 +00:00
build.config.gki.x86_64 ANDROID: refactor build.config files to remove duplication 2019-10-22 18:27:12 -07:00
build.config.x86_64 ANDROID: refactor build.config files to remove duplication 2019-10-22 18:27:12 -07:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS This is the 4.19.107 stable release 2020-03-03 07:33:01 +01:00
Makefile This is the 4.19.138 stable release 2020-08-07 10:09:24 +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.
See Documentation/00-INDEX for a list of what is contained in each file.

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.