summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-06-11 10:03:12 -0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2008-06-23 13:02:50 -0400
commitabd1ec4efd82ca06127bce833ad8a4bbec8a0dcb (patch)
tree4a740d45b37a8b6e034ebf7b7a5a325af0b1ec52 /fs/nfsd
parenta75c5d01e4235a7dd785548ac756f248b1b40107 (diff)
downloadop-kernel-dev-abd1ec4efd82ca06127bce833ad8a4bbec8a0dcb.zip
op-kernel-dev-abd1ec4efd82ca06127bce833ad8a4bbec8a0dcb.tar.gz
lockd: close potential race with rapid lockd_up/lockd_down cycle
If lockd_down is called very rapidly after lockd_up returns, then there is a slim chance that lockd() will never be called. kthread() will return before calling the function, so we'll end up never actually calling the cleanup functions for the thread. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud