Whamcloud - gitweb
LU-10391 uapi: move out kernel only code. 44/44844/4
authorJames Simmons <jsimmons@infradead.org>
Fri, 3 Sep 2021 23:22:18 +0000 (19:22 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Nov 2021 03:45:08 +0000 (03:45 +0000)
commit0631caae7d804720de275ac557dda52d7f6e5084
treeb6c985ec9e245ea376925a8d3385dce2c6ddbf5a
parenteb64594e4473af859e74a0e831316cead0f5c49b
LU-10391 uapi: move out kernel only code.

Userland doesn't use the new IPv6 function in the UAPI nidstr.h.
So move this to the kernel header lib-types.h. Normally this
wouldn't matter but the python wrappers break with the LUTF
project. With the move to Netlink in the future for the user land
API we shouldn't need these functions anyways.

Test-parameters: trivial
Change-Id: I2ac6d102d4575f639573253c21723d62ca08abc2
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/44844
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/lnet/lib-types.h
lnet/include/uapi/linux/lnet/nidstr.h