Skip to content

Commit

Permalink
NFSv4: Fix warning "no previous prototype for ‘nfs4_listxattr’"
Browse files Browse the repository at this point in the history
Make it static

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
  • Loading branch information
Trond Myklebust committed Jul 24, 2016
1 parent 1592c4d commit 1399782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfs/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -8848,7 +8848,7 @@ const struct nfs4_minor_version_ops *nfs_v4_minor_ops[] = {
#endif
};

ssize_t nfs4_listxattr(struct dentry *dentry, char *list, size_t size)
static ssize_t nfs4_listxattr(struct dentry *dentry, char *list, size_t size)
{
ssize_t error, error2;

Expand Down

0 comments on commit 1399782

Please sign in to comment.