Whamcloud - gitweb
LU-9243 gss: fix GSS struct definition badness 43/46543/6
authorSebastien Buisson <sbuisson@ddn.com>
Thu, 17 Feb 2022 15:40:20 +0000 (16:40 +0100)
committerOleg Drokin <green@whamcloud.com>
Sat, 11 Jun 2022 05:35:23 +0000 (05:35 +0000)
commit7dfbc71350c982be20d75e7d7853038809f4e850
tree5e50ca8ccdb2e4e6988483b99da23c7fa81ea607
parent9ad5c43f4a53f8679cfa1a60f8161b08d3dcfa66
LU-9243 gss: fix GSS struct definition badness

struct lgssd_ioctl_param should not be defined in multiple places. So
move it to a new header file lgss.h that can be included from kernel
space and user space.

struct gss_header, struct gss_rep_header, struct gss_err_header and
struct gss_wire_ctx are going on the wire, so they need to be moved to
lustre_idl.h, and be wire-checked.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I97c4a8322e6bb7627c6dff5f068931278f4567d7
Reviewed-on: https://review.whamcloud.com/46543
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
12 files changed:
MAINTAINERS
lustre/include/uapi/linux/lustre/Makefile.am
lustre/include/uapi/linux/lustre/lgss.h [new file with mode: 0644]
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/ptlrpc/gss/gss_cli_upcall.c
lustre/ptlrpc/gss/gss_internal.h
lustre/ptlrpc/wiretest.c
lustre/utils/gss/gssd_proc.c
lustre/utils/gss/lgss_keyring.c
lustre/utils/gss/lsupport.h
lustre/utils/wirecheck.c
lustre/utils/wiretest.c