android_kernel_motorola_sm6375/drivers/block
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kristian Klausen 8557d5a891 UPSTREAM: loop: Fix missing discard support when using LOOP_CONFIGURE
Without calling loop_config_discard() the discard flag and parameters
aren't set/updated for the loop device and worst-case they could
indicate discard support when it isn't the case (ex: if the
LOOP_SET_STATUS ioctl was used with a different file prior to
LOOP_CONFIGURE).

Cc: <stable@vger.kernel.org> # 5.8.x-
Fixes: 3448914e8cc5 ("loop: Add LOOP_CONFIGURE ioctl")
Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Link: https://lore.kernel.org/r/20210618115157.31452-1-kristian@klausen.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
(cherry picked from commit 2b9ac22b12a266eb4fec246a07b504dd4983b16b)
Bug: 187129171
Signed-off-by: Connor O'Brien <connoro@google.com>
Change-Id: I5dca23cbb70d4951101589efb5384444e443817f
2021-10-01 11:32:56 -07:00
..
aoe
drbd
mtip32xx
paride
rsxx block: rsxx: fix error return code of rsxx_pci_probe() 2021-03-17 17:03:56 +01:00
xen-blkback xen-blkback: fix compatibility bug with single page rings 2021-05-14 09:44:23 +02:00
zram zram: fix return value on writeback_store 2021-03-17 17:03:57 +01:00
amiflop.c
ataflop.c
brd.c
cryptoloop.c
floppy.c floppy: reintroduce O_NDELAY fix 2021-03-04 10:26:47 +01:00
Kconfig block: rsxx: select CONFIG_CRC32 2021-01-17 14:05:36 +01:00
loop.c UPSTREAM: loop: Fix missing discard support when using LOOP_CONFIGURE 2021-10-01 11:32:56 -07:00
loop.h
Makefile
nbd.c nbd: Fix NULL pointer in flush_workqueue 2021-05-19 10:08:30 +02:00
null_blk.h
null_blk_main.c This is the 5.4.62 stable release 2020-09-14 11:09:54 +02:00
null_blk_zoned.c This is the 5.4.119 stable release 2021-05-14 10:04:38 +02:00
pktcdvd.c
ps3disk.c ps3disk: use the default segment boundary 2020-06-24 17:50:15 +02:00
ps3vram.c
rbd.c rbd: require global CAP_SYS_ADMIN for mapping and unmapping 2020-09-17 13:47:53 +02:00
rbd_types.h
skd_main.c
skd_s1120.h
sunvdc.c
swim.c
swim3.c
swim_asm.S
sx8.c
umem.c
umem.h
virtio_blk.c This is the 5.4.134 stable release 2021-07-20 16:30:12 +02:00
xen-blkfront.c xen-blkfront: allow discard-* nodes to be optional 2021-02-03 23:25:58 +01:00
xsysace.c
z2ram.c