]> Gentwo Git Trees - linux/.git/commit
nfs_common: make include/linux/nfs4.h include generated nfs4_1.h
authorJeff Layton <jlayton@kernel.org>
Mon, 9 Dec 2024 21:13:54 +0000 (16:13 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Tue, 21 Jan 2025 20:30:00 +0000 (15:30 -0500)
commit8e1d32273ab7d06b6f78771e05824bfab01141f4
tree95495d550be6dd0e78b764f2b302b7aa21cc2bce
parent531503054e8fe9f4502fff0dceba20dfaa9920d5
nfs_common: make include/linux/nfs4.h include generated nfs4_1.h

In the long run, the NFS development community intends to autogenerate a
lot of the XDR handling code.  Both the NFS client and server include
"include/linux/nfs4.hi". That file was hand-rolled, and some of the symbols
in it conflict with the autogenerated symbols.

Add a small nfs4_1.x to Documentation that currently just has the
necessary definitions for the delstid draft, and generate the relevant
header and source files. Make include/linux/nfs4.h include the generated
include/linux/sunrpc/xdrgen/nfs4_1.h and remove the conflicting
definitions from it and nfs_xdr.h.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Documentation/sunrpc/xdr/nfs4_1.x [new file with mode: 0644]
fs/nfsd/Makefile
fs/nfsd/nfs4xdr_gen.c [new file with mode: 0644]
fs/nfsd/nfs4xdr_gen.h [new file with mode: 0644]
include/linux/nfs4.h
include/linux/nfs_xdr.h
include/linux/sunrpc/xdrgen/nfs4_1.h [new file with mode: 0644]