mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Add one dependency helper which can include new uapi definition which isn't synced from kernel. This way also helps a lot for downstream test deployment. Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20250320013743.4167489-2-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
18 lines
399 B
C
18 lines
399 B
C
#ifndef UBLK_DEP_H
|
|
#define UBLK_DEP_H
|
|
|
|
#ifndef UBLK_U_IO_REGISTER_IO_BUF
|
|
#define UBLK_U_IO_REGISTER_IO_BUF \
|
|
_IOWR('u', 0x23, struct ublksrv_io_cmd)
|
|
#define UBLK_U_IO_UNREGISTER_IO_BUF \
|
|
_IOWR('u', 0x24, struct ublksrv_io_cmd)
|
|
#endif
|
|
|
|
#ifndef UBLK_F_USER_RECOVERY_FAIL_IO
|
|
#define UBLK_F_USER_RECOVERY_FAIL_IO (1ULL << 9)
|
|
#endif
|
|
|
|
#ifndef UBLK_F_ZONED
|
|
#define UBLK_F_ZONED (1ULL << 8)
|
|
#endif
|
|
#endif
|