diff options
author | Jeff Layton <jlayton@redhat.com> | 2008-06-11 10:03:11 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-07-09 12:09:32 -0400 |
commit | 5afc597c5f0bd184457e49b9a330fcb37b69db11 (patch) | |
tree | f84cd40755de219095c376a5f96ba69da80e26f5 /fs/freevxfs | |
parent | ee84dfc45467fd8e5ce04fa2813d98e0aebe465c (diff) |
nfs4: fix potential race with rapid nfs_callback_up/down cycle
If the nfsv4 callback thread is rapidly brought up and down, it's
possible that nfs_callback_svc might never get a chance to run. If
this happens, the cleanup at thread exit might never occur, throwing
the refcounting off and nfs_callback_info in an incorrect state.
Move the clean functions into nfs_callback_down. Also change the
nfs_callback_info struct to track the svc_rqst rather than svc_serv
since we need to know that to call svc_exit_thread.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/freevxfs')
0 files changed, 0 insertions, 0 deletions