Neil Brown ab1b18f70a sunrpc: remove unnecessary svc_xprt_put
The 'struct svc_deferred_req's on the xpt_deferred queue do not
own a reference to the owning xprt.  This is seen in svc_revisit
which is where things are added to this queue.  dr->xprt is set to
NULL and the reference to the xprt it put.

So when this list is cleaned up in svc_delete_xprt, we mustn't
put the reference.

Also, replace the 'for' with a 'while' which is arguably
simpler and more likely to compile efficiently.

Cc: Tom Tucker <tom@opengridcomputing.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Cc: stable@kernel.org
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2010-02-26 17:42:46 -05:00
..
2009-12-16 12:16:41 -05:00
2009-11-25 15:14:13 -08:00
2009-12-15 08:53:25 -08:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2010-01-03 21:25:53 -08:00
2009-07-12 12:22:34 -07:00
2009-12-17 10:51:40 -05:00