diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-08-03 13:03:11 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-08-17 12:00:11 -0400 |
commit | a4aa8054a60c545f100826271ac9f04c34bf828d (patch) | |
tree | 9c9c190c54eecb09aa03e4645528663bc02383b3 /mm/mempool.c | |
parent | 983c684466e02b21f83c025ea539deee6c0aeac0 (diff) | |
download | linux-a4aa8054a60c545f100826271ac9f04c34bf828d.tar.bz2 |
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>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions