diff options
author | Andy Adamson <andros@netapp.com> | 2009-04-01 15:23:14 +0200 |
---|---|---|
committer | Benny Halevy <bhalevy@panasas.com> | 2009-06-17 23:11:32 +0200 |
commit | e82dc22dac6525a2f365a1d53c0483252d4aa38e (patch) | |
tree | 1a347b34c955db77017a5df533fc1798f164e768 /fs/nfs/client.c | |
parent | nfs41: create a svc_xprt for nfs41 callback thread and use for incoming callb... (diff) | |
download | linux-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.c | 2 |
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 */ } |