commit | ed6473ddc704a2005b9900ca08e236ebb2d8540a | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Apr 26 11:55:27 2017 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Thu Apr 27 18:00:16 2017 -0400 |
tree | 2d4a3fa182fcd7cef1fac00517d797b0ac6fa099 | |
parent | 9e0d87680d689f1758185851c3da6eafb16e71e1 [diff] |
NFSv4: Fix callback server shutdown We want to use kthread_stop() in order to ensure the threads are shut down before we tear down the nfs_callback_info in nfs_callback_down. Tested-and-reviewed-by: Kinglong Mee <kinglongmee@gmail.com> Reported-by: Kinglong Mee <kinglongmee@gmail.com> Fixes: bb6aeba736ba9 ("NFSv4.x: Switch to using svc_set_num_threads()...") Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>