]> git.baikalelectronics.ru Git - kernel.git/commit
svcrpc: no need for XPT_DEAD check in svc_xprt_enqueue
authorJ. Bruce Fields <bfields@redhat.com>
Sat, 23 Oct 2010 15:23:46 +0000 (11:23 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 25 Oct 2010 21:59:33 +0000 (17:59 -0400)
commitd67a0a4eb6204d653091527eb5eb2e9179501745
treeb443dff71fd4addcd11b873f356bbd247cadaa43
parent88bf8e66b20fe48a9c8f22f0cc83f31e9983b039
svcrpc: no need for XPT_DEAD check in svc_xprt_enqueue

If any xprt marked DEAD is also left BUSY for the rest of its life, then
the XPT_DEAD check here is superfluous--we'll get the same result from
the XPT_BUSY check just after.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svc_xprt.c