]> git.baikalelectronics.ru Git - kernel.git/commit
svcrpc: never clear XPT_BUSY on dead xprt
authorJ. Bruce Fields <bfields@redhat.com>
Sat, 23 Oct 2010 15:04:12 +0000 (11:04 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 25 Oct 2010 21:58:40 +0000 (17:58 -0400)
commit284cf00cda00e6f5005ab402b444dca4464363ba
tree4587d216b75107bc173a66396e5ca6a4d4e1b0ce
parent1f3565fe57d04b855f02744fe3e9b0f33be55482
svcrpc: never clear XPT_BUSY on dead xprt

Once an xprt has been deleted, there's no reason to allow it to be
enqueued--at worst, that might cause the xprt to be re-added to some
global list, resulting in later corruption.

Also, note this leaves us with no need for the reference-count
manipulation here.

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