linux-stable/drivers/md
Benjamin Marzinski da66e354be dm-table: fix checking for rq stackable devices
[ Upstream commit 8ca719b819 ]

Due to the semantics of iterate_devices(), the current code allows a
request-based dm table as long as it includes one request-stackable
device. It is supposed to only allow tables where there are no
non-request-stackable devices.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
Reviewed-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-28 16:26:01 +02:00
..
bcache bcache: fix NULL pointer in cache_set_flush() 2025-07-06 10:57:55 +02:00
persistent-data dm array: fix cursor index when skipping across block boundaries 2025-01-17 13:34:37 +01:00
dm-audit.c
dm-audit.h
dm-bio-prison-v1.c
dm-bio-prison-v1.h
dm-bio-prison-v2.c
dm-bio-prison-v2.h
dm-bio-record.h
dm-bufio.c dm-bufio: don't schedule in atomic context 2025-05-09 09:41:39 +02:00
dm-builtin.c
dm-cache-background-tracker.c
dm-cache-background-tracker.h
dm-cache-block-types.h
dm-cache-metadata.c
dm-cache-metadata.h
dm-cache-policy-internal.h
dm-cache-policy-smq.c
dm-cache-policy.c
dm-cache-policy.h
dm-cache-target.c dm cache: prevent BUG_ON by blocking retries on failed device resumes 2025-06-04 14:40:08 +02:00
dm-clone-metadata.c bitmap: introduce generic optimized bitmap_size() 2024-08-29 17:30:14 +02:00
dm-clone-metadata.h
dm-clone-target.c
dm-core.h
dm-crypt.c dm-crypt: track tag_offset in convert_context 2025-02-21 13:49:44 +01:00
dm-delay.c
dm-dust.c
dm-ebs-target.c dm-ebs: fix prefetch-vs-suspend race 2025-04-25 10:43:44 +02:00
dm-era-target.c
dm-exception-store.c
dm-exception-store.h
dm-flakey.c
dm-ima.c
dm-ima.h
dm-init.c dm init: Handle minors larger than 255 2024-09-12 11:10:22 +02:00
dm-integrity.c dm-integrity: fix a warning on invalid table line 2025-05-09 09:41:35 +02:00
dm-io-rewind.c
dm-io-tracker.h
dm-io.c
dm-ioctl.c dm resume: don't return EINVAL when signalled 2024-08-29 17:30:14 +02:00
dm-kcopyd.c
dm-linear.c
dm-log-userspace-base.c
dm-log-userspace-transfer.c
dm-log-userspace-transfer.h
dm-log-writes.c
dm-log.c
dm-mpath.c
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-ps-historical-service-time.c dm-mpath: don't print the "loaded" message if registering fails 2025-08-28 16:26:01 +02:00
dm-ps-io-affinity.c
dm-ps-queue-length.c dm-mpath: don't print the "loaded" message if registering fails 2025-08-28 16:26:01 +02:00
dm-ps-round-robin.c dm-mpath: don't print the "loaded" message if registering fails 2025-08-28 16:26:01 +02:00
dm-ps-service-time.c dm-mpath: don't print the "loaded" message if registering fails 2025-08-28 16:26:01 +02:00
dm-raid1.c dm-mirror: fix a tiny race condition 2025-06-27 11:07:30 +01:00
dm-raid.c dm-raid: fix variable in journal device check 2025-07-06 10:58:01 +02:00
dm-region-hash.c
dm-rq.c Revert "dm: requeue IO if mapping table not yet available" 2024-10-17 15:21:12 +02:00
dm-rq.h
dm-snap-persistent.c
dm-snap-transient.c
dm-snap.c
dm-stats.c
dm-stats.h
dm-stripe.c
dm-switch.c
dm-sysfs.c
dm-table.c dm-table: fix checking for rq stackable devices 2025-08-28 16:26:01 +02:00
dm-target.c
dm-thin-metadata.c
dm-thin-metadata.h
dm-thin.c dm thin: make get_first_thin use rcu-safe list first function 2025-01-17 13:34:41 +01:00
dm-uevent.c
dm-uevent.h
dm-unstripe.c dm-unstriped: cast an operand to sector_t to prevent potential uint32_t overflow 2024-11-14 13:15:16 +01:00
dm-verity-fec.c dm-verity FEC: Fix RS FEC repair for roots unaligned to block size (take 2) 2025-01-17 13:34:43 +01:00
dm-verity-fec.h
dm-verity-loadpin.c
dm-verity-target.c dm-verity: fix prefetch-vs-suspend race 2025-04-25 10:43:44 +02:00
dm-verity-verify-sig.c
dm-verity-verify-sig.h
dm-verity.h
dm-writecache.c
dm-zero.c
dm-zone.c
dm-zoned-metadata.c
dm-zoned-reclaim.c
dm-zoned-target.c md: dm-zoned-target: Initialize return variable r to avoid uninitialized use 2025-08-28 16:26:01 +02:00
dm-zoned.h
dm.c dm: free table mempools if not used in __bind 2025-06-27 11:07:14 +01:00
dm.h
Kconfig
Makefile
md-autodetect.c
md-bitmap.c md/md-bitmap: fix GPF in bitmap_get_stats() 2025-07-17 18:32:08 +02:00
md-bitmap.h md/md-bitmap: add 'sync_size' into struct md_bitmap_stats 2025-03-07 16:56:28 +01:00
md-cluster.c md/md-bitmap: add 'sync_size' into struct md_bitmap_stats 2025-03-07 16:56:28 +01:00
md-cluster.h
md-faulty.c
md-linear.c
md-linear.h
md-multipath.c
md-multipath.h
md.c md: move initialization and destruction of 'io_acct_set' to md.c 2025-05-09 09:41:43 +02:00
md.h md: move initialization and destruction of 'io_acct_set' to md.c 2025-05-09 09:41:43 +02:00
raid0.c md: move initialization and destruction of 'io_acct_set' to md.c 2025-05-09 09:41:43 +02:00
raid0.h
raid1-10.c
raid1.c md/raid1: Fix stack memory use after return in raid1_reshape 2025-07-17 18:32:11 +02:00
raid1.h
raid5-cache.c md/raid5-cache: use READ_ONCE/WRITE_ONCE for 'conf->log' 2024-08-29 17:30:30 +02:00
raid5-log.h
raid5-ppl.c
raid5.c md: move initialization and destruction of 'io_acct_set' to md.c 2025-05-09 09:41:43 +02:00
raid5.h
raid10.c raid10: cleanup memleak at raid10_make_request 2025-07-17 18:32:11 +02:00
raid10.h