commit | 2bbfed98a4d82ac4e7abfcd4eba40bddfc670b1d | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trondmy@gmail.com> | Wed Oct 23 17:43:18 2019 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Fri Nov 08 12:32:59 2019 -0500 |
tree | 26b916fc1bffa22169392125c49097470aa8822a | |
parent | 12357f1b2c8e0d06f34a045498d4a1e7877153ee [diff] |
nfsd: Fix races between nfsd4_cb_release() and nfsd4_shutdown_callback() When we're destroying the client lease, and we call nfsd4_shutdown_callback(), we must ensure that we do not return before all outstanding callbacks have terminated and have released their payloads. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>