summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-07-24 23:10:52 +0200
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-07-24 23:35:56 +0200
commit139978239b53a981b45c53b835c020015c6c819e (patch)
tree10f4b7f8c5f94e35f794488e034d099010f47838 /fs
parentMerge branch 'nfs-rdma' (diff)
downloadlinux-139978239b53a981b45c53b835c020015c6c819e.tar.xz
linux-139978239b53a981b45c53b835c020015c6c819e.zip
NFSv4: Fix warning "no previous prototype for ‘nfs4_listxattr’"
Make it static Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index d30f88c667b7..4b1491da16eb 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -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;