summaryrefslogtreecommitdiff
path: root/fs/nfs
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-10-02 10:18:59 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-02 15:17:02 (GMT)
commit0b37d20ca225f57fff9237bc75d11d3995c8fed6 (patch)
tree7b7fa627f4cd6d3954e118dabad1726c292ca997 /fs/nfs
parentca57ccc48f6a9a3ec655f87acebab82bf01088e7 (diff)
downloadlinux-0b37d20ca225f57fff9237bc75d11d3995c8fed6.tar.xz
nfs: declare nfs_callback_tcp_port in header
Sparse warning: fs/nfs/super.c:2638:16: sparse: symbol 'nfs_callback_tcpport' was not declared. Should it be static? Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/callback.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h
index c07a8d4..4251c2ae 100644
--- a/fs/nfs/callback.h
+++ b/fs/nfs/callback.h
@@ -208,5 +208,6 @@ extern int nfs4_set_callback_sessionid(struct nfs_client *clp);
#define NFS41_BC_MAX_CALLBACKS 1
extern unsigned int nfs_callback_set_tcpport;
+extern unsigned short nfs_callback_tcpport;
#endif /* __LINUX_FS_NFS_CALLBACK_H */