--- zzzz-none-000/linux-5.4.213/block/blk-core.c 2022-09-15 10:04:56.000000000 +0000 +++ miami-7690-761/linux-5.4.213/block/blk-core.c 2024-05-29 11:19:50.000000000 +0000 @@ -834,7 +834,7 @@ /* * Remap block n of partition p to block n+start(p) of the disk. */ -static inline int blk_partition_remap(struct bio *bio) +int blk_partition_remap(struct bio *bio) { struct hd_struct *p; int ret = -EIO; @@ -865,6 +865,7 @@ rcu_read_unlock(); return ret; } +EXPORT_SYMBOL(blk_partition_remap); static noinline_for_stack bool generic_make_request_checks(struct bio *bio)