NFS: make nfs_callback_tcpport 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:36 +04:00
committed by Trond Myklebust
parent 23c20ecd44
commit bbe0a3aa4e
4 changed files with 8 additions and 4 deletions

View File

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