devlink: un-static devlink_nl_pre/post_doit()
authorJiri Pirko <jiri@nvidia.com>
Thu, 3 Aug 2023 11:13:36 +0000 (13:13 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 4 Aug 2023 21:03:01 +0000 (14:03 -0700)
commit8300dce542e45c50ef318c4493bbb2e7966a883c
tree37d2ecd3386fa02333dc3b509ab401f5923e80f0
parent491a24872a64cbb8edf996b6113a97586702e5ca
devlink: un-static devlink_nl_pre/post_doit()

To be prepared for the follow-up generated split ops addition,
make the functions devlink_nl_pre_doit() and devlink_nl_post_doit()
usable outside of netlink.c. Introduce temporary prototypes which are
going to be removed once the generated header will be included.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20230803111340.1074067-9-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/devlink/devl_internal.h
net/devlink/netlink.c