diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-08-20 18:00:46 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-10-01 15:25:57 -0700 |
commit | b3d19c51723be69fddb64723bebb5a30fb57a483 (patch) | |
tree | af7bd8cc8db0fd669f8edd794f062b32f63c5aa4 /fs/nfs/netns.h | |
parent | 29dcc16a8e29371e11fb58fc1292e01f30ff13c5 (diff) | |
download | op-kernel-dev-b3d19c51723be69fddb64723bebb5a30fb57a483.zip op-kernel-dev-b3d19c51723be69fddb64723bebb5a30fb57a483.tar.gz |
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 137238b..b9c7f9b 100644 --- a/fs/nfs/netns.h +++ b/fs/nfs/netns.h @@ -24,6 +24,7 @@ struct nfs_net { struct idr cb_ident_idr; /* Protected by nfs_client_lock */ unsigned short nfs_callback_tcpport; unsigned short nfs_callback_tcpport6; + int cb_users[NFS4_MAX_MINOR_VERSION + 1]; #endif spinlock_t nfs_client_lock; struct timespec boot_time; |