NFS: make nfs_callback_tcpport6 per network context

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
Stanislav Kinsbursky 2012-08-20 18:00:41 +04:00 committed by Trond Myklebust
parent bbe0a3aa4e
commit 29dcc16a8e
4 changed files with 4 additions and 6 deletions

View file

@ -23,6 +23,7 @@ struct nfs_net {
#if IS_ENABLED(CONFIG_NFS_V4)
struct idr cb_ident_idr; /* Protected by nfs_client_lock */
unsigned short nfs_callback_tcpport;
unsigned short nfs_callback_tcpport6;
#endif
spinlock_t nfs_client_lock;
struct timespec boot_time;