From: Felix Frank Date: Mon, 13 Jul 2009 08:08:37 +0000 (+0200) Subject: fetchDestroy can end calls now too. X-Git-Tag: openafs-devel-1_5_63~12 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=bef42619ba3cf7f4b20783942c989e6d96185104;p=packages%2Fo%2Fopenafs.git fetchDestroy can end calls now too. Reviewed-on: http://gerrit.openafs.org/130 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/afs_fetchstore.c b/src/afs/afs_fetchstore.c index 1217e3be7..93060f8c1 100644 --- a/src/afs/afs_fetchstore.c +++ b/src/afs/afs_fetchstore.c @@ -821,6 +821,13 @@ rxfs_fetchDestroy(void **r, afs_int32 error) struct rxfs_fetchVariables *v = (struct rxfs_fetchVariables *)*r; *r = NULL; + if (v->call) { + RX_AFS_GUNLOCK(); + code = rx_EndCall(v->call, error); + RX_AFS_GLOCK(); + if (error) + code = error; + } if (v->tbuffer) osi_FreeLargeSpace(v->tbuffer); if (v->iov)