SUNRPC: clear svc pools lists helper introduced
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Tue, 31 Jan 2012 10:09:00 +0000 (14:09 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 15 Feb 2012 05:19:44 +0000 (00:19 -0500)
commit6f5133652eaab6fbd88bdb1b1fd2236fd82583cb
treec1cd295993d8d8f4808bed47bada155d9189a2ed
parentef159e9177cc5a09e6174796dde0b2d243ddf28b
SUNRPC: clear svc pools lists helper introduced

This patch moves removing of service transport from it's pools ready lists to
separated function. Also this clear is now done with list_for_each_entry_safe()
helper.
This is a precursor patch, which would be usefull with service shutdown in
network namespace context, introduced later in the series.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/svc_xprt.c