Whamcloud - gitweb
LU-9243 gss: fix GSS struct definition badness 64/47664/2
authorSebastien Buisson <sbuisson@ddn.com>
Thu, 17 Feb 2022 15:40:20 +0000 (16:40 +0100)
committerOleg Drokin <green@whamcloud.com>
Sat, 10 Sep 2022 00:54:24 +0000 (00:54 +0000)
commit64d9573310ade17322d0176d94291a9897013ed3
tree94d72efa3547743dc231a9bfafcac069eedb90f4
parentee7f88c19bfef69268a5cb4ba5809db17b70e2e9
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.

Lustre-change: https://review.whamcloud.com/46543
Lustre-commit: 7dfbc71350c982be20d75e7d7853038809f4e850

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I97c4a8322e6bb7627c6dff5f068931278f4567d7
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/47664
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
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