summaryrefslogtreecommitdiffstats
path: root/fs/nfs/client.c
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-04-01 15:23:14 +0200
committerBenny Halevy <bhalevy@panasas.com>2009-06-17 23:11:32 +0200
commite82dc22dac6525a2f365a1d53c0483252d4aa38e (patch)
tree1a347b34c955db77017a5df533fc1798f164e768 /fs/nfs/client.c
parentnfs41: create a svc_xprt for nfs41 callback thread and use for incoming callb... (diff)
downloadlinux-e82dc22dac6525a2f365a1d53c0483252d4aa38e.tar.xz
linux-e82dc22dac6525a2f365a1d53c0483252d4aa38e.zip
nfs41: Allow NFSv4 and NFSv4.1 callback services to coexist
Tracks the nfs_callback_info for both versions, enabling the callback service for v4 and v4.1 to run concurrently and be stopped independently of each other. Signed-off-by: Ricardo Labiaga <ricardo.labiaga@netapp.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r--fs/nfs/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index df2b40d1883d..ac6575c4da31 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -181,7 +181,7 @@ static void nfs4_destroy_callback(struct nfs_client *clp)
{
#ifdef CONFIG_NFS_V4
if (__test_and_clear_bit(NFS_CS_CALLBACK, &clp->cl_res_state))
- nfs_callback_down();
+ nfs_callback_down(clp->cl_minorversion);
#endif /* CONFIG_NFS_V4 */
}