]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
SUNRPC: Move simple_get_bytes and simple_get_netobj into private header
authorDave Wysochanski <dwysocha@redhat.com>
Thu, 21 Jan 2021 21:17:23 +0000 (16:17 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Feb 2021 12:55:12 +0000 (13:55 +0100)
commiteda725f8cfe0f2fd79d8c42ce9d618d3e30ce43c
tree5f5aa3354e4089e887dc188a26c4354bb987fd87
parent6fb6d5410e415b8b4ea6020fd2f8539fe7527b61
SUNRPC: Move simple_get_bytes and simple_get_netobj into private header

[ Upstream commit ba6dfce47c4d002d96cd02a304132fca76981172 ]

Remove duplicated helper functions to parse opaque XDR objects
and place inside new file net/sunrpc/auth_gss/auth_gss_internal.h.
In the new file carry the license and copyright from the source file
net/sunrpc/auth_gss/auth_gss.c.  Finally, update the comment inside
include/linux/sunrpc/xdr.h since lockd is not the only user of
struct xdr_netobj.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/sunrpc/xdr.h
net/sunrpc/auth_gss/auth_gss.c
net/sunrpc/auth_gss/auth_gss_internal.h [new file with mode: 0644]
net/sunrpc/auth_gss/gss_krb5_mech.c