summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/xdr4.h
diff options
context:
space:
mode:
authorAndrew Elble <aweits@rit.edu>2016-06-15 18:52:08 +0200
committerJ. Bruce Fields <bfields@redhat.com>2016-07-13 21:32:47 +0200
commitdedeb13f9efb4439a37cf56317c8f25860dd667b (patch)
tree96b079f3a0e488e5139ed9f0e43202449eb89443 /fs/nfsd/xdr4.h
parentnfs/nfsd: Move useful bitfield ops to a commonly accessible place (diff)
downloadlinux-dedeb13f9efb4439a37cf56317c8f25860dd667b.tar.xz
linux-dedeb13f9efb4439a37cf56317c8f25860dd667b.zip
nfsd: allow mach_creds_match to be used more broadly
Rename mach_creds_match() to nfsd4_mach_creds_match() and un-staticify Signed-off-by: Andrew Elble <aweits@rit.edu> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r--fs/nfsd/xdr4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h
index d9554813e58a..74342a7c208a 100644
--- a/fs/nfsd/xdr4.h
+++ b/fs/nfsd/xdr4.h
@@ -654,6 +654,8 @@ set_change_info(struct nfsd4_change_info *cinfo, struct svc_fh *fhp)
}
+
+bool nfsd4_mach_creds_match(struct nfs4_client *cl, struct svc_rqst *rqstp);
int nfs4svc_encode_voidres(struct svc_rqst *, __be32 *, void *);
int nfs4svc_decode_compoundargs(struct svc_rqst *, __be32 *,
struct nfsd4_compoundargs *);