commit | a4aa8054a60c545f100826271ac9f04c34bf828d | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Sun Aug 03 13:03:11 2014 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Sun Aug 17 12:00:11 2014 -0400 |
tree | 9c9c190c54eecb09aa03e4645528663bc02383b3 | |
parent | 983c684466e02b21f83c025ea539deee6c0aeac0 [diff] |
SUNRPC: Fix broken kthread_should_stop test in svc_get_next_xprt We should definitely not be exiting svc_get_next_xprt() with the thread enqueued. Fix this by ensuring that we fall through to the dequeue. Also move the test itself outside the spin lock protected section. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>