summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2019-11-05 10:43:44 -0500
committerMike Snitzer <snitzer@redhat.com>2019-11-05 11:22:52 -0500
commit6ba01df72b4b63a26b4977790f58d8f775d2992c (patch)
treeabe5ee5f34277e7b233873e44bb9c663dfa310e3 /drivers/pinctrl
parenta99d8080aaf358d5d23581244e5da23b35e340b9 (diff)
downloadlinux-6ba01df72b4b63a26b4977790f58d8f775d2992c.tar.gz
linux-6ba01df72b4b63a26b4977790f58d8f775d2992c.tar.bz2
linux-6ba01df72b4b63a26b4977790f58d8f775d2992c.zip
dm table: do not allow request-based DM to stack on partitions
Partitioned request-based devices cannot be used as underlying devices for request-based DM because no partition offsets are added to each incoming request. As such, until now, stacking on partitioned devices would _always_ result in data corruption (e.g. wiping the partition table, writing to other partitions, etc). Fix this by disallowing request-based stacking on partitions. While at it, since all .request_fn support has been removed from block core, remove legacy dm-table code that differentiated between blk-mq and .request_fn request-based. Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions