nfsd: make nfsd4_encode_fattr static
authorJeff Layton <jlayton@primarydata.com>
Fri, 30 May 2014 13:09:25 +0000 (09:09 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Sat, 31 May 2014 00:25:28 +0000 (20:25 -0400)
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>
fs/nfsd/nfs4xdr.c

index 3976dc699731adbae002594f2b067882719aa113..a7268b4a49547856620df1e05d257b6b82a2b491 100644 (file)
@@ -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,