blk: blkmap: Add linear device mapping support
authorTobias Waldekranz <tobias@waldekranz.com>
Thu, 16 Feb 2023 15:33:51 +0000 (16:33 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 5 Apr 2023 14:54:47 +0000 (10:54 -0400)
commit762dc78bdea3468e8cd35c01f91def13974948f1
tree4bae2048970ae039b9a1f65ad527aafc48cdf31c
parent15d9e99a274df5d9b260f75f42f7c394e5fe0e42
blk: blkmap: Add linear device mapping support

Allow a slice of an existing block device to be mapped to a
blkmap. This means that filesystems that are not stored at exact
partition boundaries can be accessed by remapping a slice of the
existing device to a blkmap device.

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/block/blkmap.c
include/blkmap.h