Merge tag 'nfsd-4.20' of git://linux-nfs.org/~bfields/linux
[muen/linux.git] / net / sunrpc / svc_xprt.c
index 87533fb..51d3623 100644 (file)
@@ -987,7 +987,7 @@ static void call_xpt_users(struct svc_xprt *xprt)
        spin_lock(&xprt->xpt_lock);
        while (!list_empty(&xprt->xpt_users)) {
                u = list_first_entry(&xprt->xpt_users, struct svc_xpt_user, list);
-               list_del(&u->list);
+               list_del_init(&u->list);
                u->callback(u);
        }
        spin_unlock(&xprt->xpt_lock);