drbd: move UAPI headers to include/uapi/linux/
authorChristoph Böhmwalder <christoph.boehmwalder@linbit.com>
Wed, 6 May 2026 12:45:40 +0000 (14:45 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 9 May 2026 01:23:23 +0000 (19:23 -0600)
commita54f499838292c1768f6575ed1ec7cf35f1b6489
treecbb01efea4490dfc03c7496cb1ceb58158a9090c
parent7fd2df204f342fc17d1a0bfcd474b24232fb0f32
drbd: move UAPI headers to include/uapi/linux/

drbd.h and drbd_limits.h contain only type definitions, enums, and
constants shared between kernel and userspace. These should be part of
UAPI.

Split the genl_api header into two: the genlmsghdr and the enums are
UAPI, the rest stays there for now (it will be removed by one of the
next commits in this series).

drbd_config.h is clearly DRBD-internal, so move it there.

Signed-off-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20260506124541.1951772-2-christoph.boehmwalder@linbit.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_buildtag.c
drivers/block/drbd/drbd_config.h [new file with mode: 0644]
drivers/block/drbd/drbd_int.h
include/linux/drbd.h [deleted file]
include/linux/drbd_config.h [deleted file]
include/linux/drbd_genl_api.h
include/linux/drbd_limits.h [deleted file]
include/uapi/linux/drbd.h [new file with mode: 0644]
include/uapi/linux/drbd_limits.h [new file with mode: 0644]