From 0ee69d5b9a64a96c5c217d523ba23371d41cb85d Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 7 Sep 2009 22:29:54 -0400 Subject: [PATCH] fetchstore nocall argument breaks non-64bit clients a label before the end of a loop breaks, which is the case when AFS_64BIT_CLIENT's not defined (e.g. UKERNEL). fix it. Reviewed-on: http://gerrit.openafs.org/410 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear --- src/afs/afs_fetchstore.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/afs/afs_fetchstore.c b/src/afs/afs_fetchstore.c index 6ab62557e..86f590676 100644 --- a/src/afs/afs_fetchstore.c +++ b/src/afs/afs_fetchstore.c @@ -612,12 +612,11 @@ afs_CacheStoreVCache(struct dcache **dcList, struct vcache *avc, #endif code = rxfs_storeInit(avc, tc, length, bytes, base, sync, &ops, &rock); - if ( code ) - goto nocall; - code = afs_CacheStoreDCaches(avc, dclist, bytes, anewDV, - &doProcessFS, &OutStatus, nchunks, nomore, ops, rock); -nocall: + if (!code) + code = afs_CacheStoreDCaches(avc, dclist, bytes, anewDV, + &doProcessFS, &OutStatus, + nchunks, nomore, ops, rock); #ifdef AFS_64BIT_CLIENT if (code == RXGEN_OPCODE && !afs_serverHasNo64Bit(tc)) { afs_serverSetNo64Bit(tc); -- 2.39.5