summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-07-25 00:10:52 +0300
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-07-25 00:35:56 +0300
commit139978239b53a981b45c53b835c020015c6c819e (patch)
tree10f4b7f8c5f94e35f794488e034d099010f47838 /fs/nfs/nfs4proc.c
parent1592c4d62a89bbca895c568d65ce290dfbc36ecc (diff)
downloadlinux-139978239b53a981b45c53b835c020015c6c819e.tar.xz
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/nfs/nfs4proc.c')
-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;