android_kernel_motorola_sm6375/drivers/block
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Martijn Coenen 4f031c8941 UPSTREAM: loop: Set correct device size when using LOOP_CONFIGURE
The device size calculation was done before processing the loop
configuration, which meant that the we set the size on the underlying
block device incorrectly in case lo_offset/lo_sizelimit were set in the
configuration. Delay computing the size until we've setup the device
parameters correctly.

Fixes: 3448914e8cc5("loop: Add LOOP_CONFIGURE ioctl")
Reported-by: Lennart Poettering <[email protected]>
Tested-by: Yang Xu <[email protected]>
Signed-off-by: Martijn Coenen <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
(cherry picked from commit 79e5dc59e2974a48764269fa9ff544ae8ffe3338)
Bug: 187129171
Signed-off-by: Connor O'Brien <[email protected]>
Change-Id: I823aba7e482eaf347992d507c875c10469a27c16
2021-10-01 11:32:54 -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: Set correct device size when using LOOP_CONFIGURE 2021-10-01 11:32:54 -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
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