mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-29 05:12:59 +01:00
This is needed to inline these helpers into Rust code. Reviewed-by: Boqun Feng <[email protected]> Reviewed-by: Gary Guo <[email protected]> Signed-off-by: Alice Ryhl <[email protected]> Signed-off-by: Boqun Feng <[email protected]> Link: https://patch.msgid.link/[email protected]
15 lines
303 B
C
15 lines
303 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#include <linux/blk-mq.h>
|
|
#include <linux/blkdev.h>
|
|
|
|
__rust_helper void *rust_helper_blk_mq_rq_to_pdu(struct request *rq)
|
|
{
|
|
return blk_mq_rq_to_pdu(rq);
|
|
}
|
|
|
|
__rust_helper struct request *rust_helper_blk_mq_rq_from_pdu(void *pdu)
|
|
{
|
|
return blk_mq_rq_from_pdu(pdu);
|
|
}
|