rx: Don't treat calls specially in event package
authorSimon Wilkinson <sxw@your-file-system.com>
Sat, 3 Nov 2012 23:15:50 +0000 (23:15 +0000)
committerJeffrey Altman <jaltman@your-file-system.com>
Sat, 1 Dec 2012 17:51:06 +0000 (09:51 -0800)
commit20034a815750beff262d49b37fba225c72dd0ab1
tree248d976312b9d62154af2c4b8064e17eb4156ba3
parent4abcf4a7d1ae0719594d38add9c8ad80a0643f8d
rx: Don't treat calls specially in event package

Many different structures can be passed to the rxevent package as
data. Don't give calls special treatment by making rxevent aware of
how to release their reference counts when an event is cancelled.

Update all of the callers of rxevent_Cancel to use the new arguments,
and where they were cancelling functions with calls as parameters add
the appropriate CALL_RELE directives. In many cases, this has led to
new helper functions to cancel particular call-based events.

Change-Id: Ic02778e48fd950e8850b77bd3c076c235453274d
Reviewed-on: http://gerrit.openafs.org/8538
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/rx/rx.c
src/rx/rx_event.c
src/rx/rx_event.h
src/rx/rx_globals.h
src/rx/rx_internal.h
src/rx/rx_prototypes.h
src/rx/rx_rdwr.c
tests/rx/event-t.c