From: Trond Myklebust Date: Sun, 3 Aug 2014 17:03:11 +0000 (-0400) Subject: SUNRPC: Fix broken kthread_should_stop test in svc_get_next_xprt X-Git-Tag: fixes-for-v3.18-merge-window~9^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4aa8054a60c545f100826271ac9f04c34bf828d;p=pandora-kernel.git 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 Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed