summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs3xdr.c
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2011-05-16 16:38:14 +0200
committerJ. Bruce Fields <bfields@redhat.com>2011-05-18 21:28:31 +0200
commitc47d832bc0155153920e507f075647519bad09a2 (patch)
tree3ec53c2ac4f398d046d0bcf8409db7630a9b473e /fs/nfsd/nfs3xdr.c
parentNFSD: Remove unused variable from nfsd4_decode_bind_conn_to_session() (diff)
downloadlinux-c47d832bc0155153920e507f075647519bad09a2.tar.xz
linux-c47d832bc0155153920e507f075647519bad09a2.zip
nfsd: make local functions static
This also fixes a number of sparse warnings. Signed-off-by: Daniel Mack <zonque@gmail.com> Cc: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: J. Bruce Fields <bfields@fieldses.org> Cc: Neil Brown <neilb@suse.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs3xdr.c')
-rw-r--r--fs/nfsd/nfs3xdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs3xdr.c b/fs/nfsd/nfs3xdr.c
index 7e84a852cdae..291f2d2551b3 100644
--- a/fs/nfsd/nfs3xdr.c
+++ b/fs/nfsd/nfs3xdr.c
@@ -842,7 +842,7 @@ out:
return rv;
}
-__be32 *encode_entryplus_baggage(struct nfsd3_readdirres *cd, __be32 *p, const char *name, int namlen)
+static __be32 *encode_entryplus_baggage(struct nfsd3_readdirres *cd, __be32 *p, const char *name, int namlen)
{
struct svc_fh fh;
int err;