fetchstore nocall argument breaks non-64bit clients
[openafs.git] / src / afs / afs_fetchstore.c
index a4a372a..86f5906 100644 (file)
@@ -612,14 +612,11 @@ afs_CacheStoreVCache(struct dcache **dcList, struct vcache *avc,
 #endif
                code = rxfs_storeInit(avc, tc, length, bytes, base,
                                        sync, &ops, &rock);
-               if ( code ) {
-                   osi_Panic(
-                   "afs_CacheStoreProc: rxfs_storeInit failed with %d", code);
-               }
-
-               code = afs_CacheStoreDCaches(avc, dclist, bytes, anewDV,
-                       &doProcessFS, &OutStatus, nchunks, nomore, ops, rock);
 
+               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);