Commit f8c0d226 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

svcrpc: simplify svc_close_all



There's no need to be fooling with XPT_BUSY now that all the threads
are gone.

The list_del_init() here could execute at the same time as the
svc_xprt_enqueue()'s list_add_tail(), with undefined results.  We don't
really care at this point, but it might result in a spurious
list-corruption warning or something.

And svc_close() isn't adding any value; just call svc_delete_xprt()
directly.

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent ca7896cd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment