]> bbs.cooldavid.org Git - net-next-2.6.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)
commit7e4fdd0744fcb9f08854c37643bf529c5945cc36
tree4587d216b75107bc173a66396e5ca6a4d4e1b0ce
parenta663bdd8c5d18d287f7468470816c9e0e66343c1
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