diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-10-02 12:18:59 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-10-02 17:17:02 +0200 |
commit | 0b37d20ca225f57fff9237bc75d11d3995c8fed6 (patch) | |
tree | 7b7fa627f4cd6d3954e118dabad1726c292ca997 /fs/nfs/callback.h | |
parent | nfs: include NFSv4 header in netns.h (diff) | |
download | linux-0b37d20ca225f57fff9237bc75d11d3995c8fed6.tar.xz linux-0b37d20ca225f57fff9237bc75d11d3995c8fed6.zip |
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/callback.h')
-rw-r--r-- | fs/nfs/callback.h | 1 |
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); #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 */ |