From a4aa8054a60c545f100826271ac9f04c34bf828d Mon Sep 17 00:00:00 2001 From: Trond Myklebust Date: Sun, 3 Aug 2014 13:03:11 -0400 Subject: [PATCH] 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-format-patch failed