Re: [PATCH 3/3] NFSD: Clean up header guards in fs/nfsd/xdr.h
Jeff Layton <[email protected]>
| Newsgroups | org.kernel.vger.linux-nfs |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2026-08-18 at 10:00 -0400, Chuck Lever wrote: > Make the header guards less ambiguous about their provenance. > > Signed-off-by: Chuck Lever <[email protected]> > --- > fs/nfsd/xdr.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/fs/nfsd/xdr.h b/fs/nfsd/xdr.h > index df540c940cef..52660b9f8dde 100644 > --- a/fs/nfsd/xdr.h > +++ b/fs/nfsd/xdr.h > @@ -1,8 +1,8 @@ > /* SPDX-License-Identifier: GPL-2.0 */ > /* XDR types for nfsd. This is mainly a typing exercise. */ > > -#ifndef LINUX_NFSD_H > -#define LINUX_NFSD_H > +#ifndef _LINUX_NFSD_XDR_H > +#define _LINUX_NFSD_XDR_H > > #include <linux/vfs.h> > #include "nfsd.h" > @@ -175,4 +175,4 @@ bool svcxdr_encode_stat(struct xdr_stream *xdr, __be32 status); > bool svcxdr_encode_fattr(struct svc_rqst *rqstp, struct xdr_stream *xdr, > const struct svc_fh *fhp, const struct kstat *stat); > > -#endif /* LINUX_NFSD_H */ > +#endif /* _LINUX_NFSD_XDR_H */ Reviewed-by: Jeff Layton <[email protected]>