commit | fd699b8a48c0ca36e782cf705794358b3e4b8c25 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@primarydata.com> | Wed Jul 30 08:27:14 2014 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Tue Aug 05 10:55:01 2014 -0400 |
tree | 4e38b16b1b979e75f157b3dbe0f03d5beccfe8ca | |
parent | fb94d766af0571ab82d5f63e871a73d985d6d6b0 [diff] |
nfsd: don't destroy clients that are busy It's possible that we'll have an in-progress call on some of the clients while a rogue EXCHANGE_ID or DESTROY_CLIENTID call comes in. Be sure to try and mark the client expired first, so that the refcount is respected. This will only be a problem once the client_mutex is removed. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>