diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-08-20 10:00:46 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-10-01 18:25:57 -0400 |
commit | b3d19c51723be69fddb64723bebb5a30fb57a483 (patch) | |
tree | af7bd8cc8db0fd669f8edd794f062b32f63c5aa4 /fs/nfs/netns.h | |
parent | 29dcc16a8e29371e11fb58fc1292e01f30ff13c5 (diff) |
NFS: callback per-net usage counting introduced
This patch also introduces refcount-aware nfs_callback_down_net() wrapper for
svc_shutdown_net().
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/netns.h')
-rw-r--r-- | fs/nfs/netns.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/netns.h b/fs/nfs/netns.h index 137238b012fb..b9c7f9b1f91b 100644 --- a/fs/nfs/netns.h +++ b/fs/nfs/netns.h | |||
@@ -24,6 +24,7 @@ struct nfs_net { | |||
24 | struct idr cb_ident_idr; /* Protected by nfs_client_lock */ | 24 | struct idr cb_ident_idr; /* Protected by nfs_client_lock */ |
25 | unsigned short nfs_callback_tcpport; | 25 | unsigned short nfs_callback_tcpport; |
26 | unsigned short nfs_callback_tcpport6; | 26 | unsigned short nfs_callback_tcpport6; |
27 | int cb_users[NFS4_MAX_MINOR_VERSION + 1]; | ||
27 | #endif | 28 | #endif |
28 | spinlock_t nfs_client_lock; | 29 | spinlock_t nfs_client_lock; |
29 | struct timespec boot_time; | 30 | struct timespec boot_time; |