summaryrefslogtreecommitdiff
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-05-30 13:09:25 (GMT)
committerJ. Bruce Fields <bfields@redhat.com>2014-05-31 00:25:28 (GMT)
commitda2ebce6a0f64cc01bd00aba998c0a4fa7c09843 (patch)
treed9e1ae88d9d9ec87fdd951003db4aab6aabc6976 /fs/nfsd
parenta48fd0f9f77b6e144813230c26621c00aac92ce8 (diff)
downloadlinux-da2ebce6a0f64cc01bd00aba998c0a4fa7c09843.tar.xz
nfsd: make nfsd4_encode_fattr static
sparse says: CHECK fs/nfsd/nfs4xdr.c fs/nfsd/nfs4xdr.c:2043:1: warning: symbol 'nfsd4_encode_fattr' was not declared. Should it be static? Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4xdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index 3976dc6..a7268b4 100644
--- a/fs/nfsd/nfs4xdr.c
+++ b/fs/nfsd/nfs4xdr.c
@@ -2000,7 +2000,7 @@ static int get_parent_attributes(struct svc_export *exp, struct kstat *stat)
* Note: @fhp can be NULL; in this case, we might have to compose the filehandle
* ourselves.
*/
-__be32
+static __be32
nfsd4_encode_fattr(struct xdr_stream *xdr, struct svc_fh *fhp,
struct svc_export *exp,
struct dentry *dentry, u32 *bmval,