diff options
author | Andy Adamson <andros@netapp.com> | 2009-04-01 09:23:14 -0400 |
---|---|---|
committer | Benny Halevy <bhalevy@panasas.com> | 2009-06-17 17:11:32 -0400 |
commit | e82dc22dac6525a2f365a1d53c0483252d4aa38e (patch) | |
tree | 1a347b34c955db77017a5df533fc1798f164e768 /fs/nfs/client.c | |
parent | 8f975242352e92898dc641ebff0d24808f39848a (diff) |
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) | |||
181 | { | 181 | { |
182 | #ifdef CONFIG_NFS_V4 | 182 | #ifdef CONFIG_NFS_V4 |
183 | if (__test_and_clear_bit(NFS_CS_CALLBACK, &clp->cl_res_state)) | 183 | if (__test_and_clear_bit(NFS_CS_CALLBACK, &clp->cl_res_state)) |
184 | nfs_callback_down(); | 184 | nfs_callback_down(clp->cl_minorversion); |
185 | #endif /* CONFIG_NFS_V4 */ | 185 | #endif /* CONFIG_NFS_V4 */ |
186 | } | 186 | } |
187 | 187 | ||