aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-10-02 06:18:59 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-02 11:17:02 -0400
commit0b37d20ca225f57fff9237bc75d11d3995c8fed6 (patch)
tree7b7fa627f4cd6d3954e118dabad1726c292ca997 /fs/nfs
parentca57ccc48f6a9a3ec655f87acebab82bf01088e7 (diff)
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 c07a8d460d36..4251c2ae06ad 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);
208#define NFS41_BC_MAX_CALLBACKS 1 208#define NFS41_BC_MAX_CALLBACKS 1
209 209
210extern unsigned int nfs_callback_set_tcpport; 210extern unsigned int nfs_callback_set_tcpport;
211extern unsigned short nfs_callback_tcpport;
211 212
212#endif /* __LINUX_FS_NFS_CALLBACK_H */ 213#endif /* __LINUX_FS_NFS_CALLBACK_H */