]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-inlinebulk-put-ref-on-error-20041028
authorDerrick Brashear <shadow@dementia.org>
Thu, 28 Oct 2004 21:47:00 +0000 (21:47 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 28 Oct 2004 21:47:00 +0000 (21:47 +0000)
if we got an error during InlineBulk, put back the reference

(cherry picked from commit a3da9532a930720e4e9fba5f6520c3c9e1d67bc4)

src/viced/afsfileprocs.c

index ffef0e281b0bc52898163b18d63270823ee32eb5..0def2ffe9ad506c9a3a31feece74a3bf5ed9bf38 100644 (file)
@@ -1064,6 +1064,7 @@ SRXAFS_InlineBulkStatus(tcon, Fids, OutStats, CallBacks, Sync)
                             READ_LOCK, &rights, &anyrights)) {
            tstatus = &OutStats->AFSBulkStats_val[i];
            tstatus->errorCode = errorCode;
+           PutVolumePackage(parentwhentargetnotdir, targetptr, (Vnode *) 0, volptr);
            parentwhentargetnotdir = (Vnode *) 0;
            targetptr = (Vnode *) 0;
            volptr = (Volume *) 0;