rx: Tidy up currentPacket handling
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 6 Jan 2012 10:12:26 +0000 (10:12 +0000)
committerDerrick Brashear <shadow@dementix.org>
Sat, 14 Apr 2012 00:39:14 +0000 (17:39 -0700)
commit7b45d62ec18726a49dcffe8ddbca8f446ca0bb3e
tree3d782691a77b36a5b3c0b73db13833bcb02c82be
parente6105fcd33db8af6a5ea5da5f221b6acc8d39f04
rx: Tidy up currentPacket handling

Instead of making a copy of the call->currentPacket variable in our
read/write routines, reference it directly. Make it clear that
currentPacket is used solely by the application thread, and remove
a number of mistaken comments that suggest otherwise.

Change-Id: I7ad799acbf110422df7c1e18ab552caf26b7766a
Reviewed-on: http://gerrit.openafs.org/7194
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/rx/rx_rdwr.c