projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca57ccc
)
nfs: declare nfs_callback_tcp_port in header
author
Stanislav Kinsbursky
<skinsbursky@parallels.com>
Tue, 2 Oct 2012 10:18:59 +0000
(14:18 +0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 2 Oct 2012 15:17:02 +0000
(08:17 -0700)
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>
fs/nfs/callback.h
patch
|
blob
|
history
diff --git
a/fs/nfs/callback.h
b/fs/nfs/callback.h
index
c07a8d4
..
4251c2a
100644
(file)
--- 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 */