The salvager does uncontrolled forced salvages since ListViceInodes forgets to clear the "forcep" parameter.

Trivial patch attached, bcc'ed to openafs-bugs.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rainer Toebbicke
European Laboratory for Particle Physics(CERN) - Geneva, Switzerland
Phone: +41 22 767 8985       Fax: +41 22 767 7155
--- openafs/src/vol/namei_ops.c.o144    2007-03-20 14:36:37.000000000 +0100
+++ openafs/src/vol/namei_ops.c 2007-05-11 11:21:59.000000000 +0200
@@ -1146,6 +1146,8 @@
     int ninodes;
     struct afs_stat status;
 
+    *forcep = 0;               /* no need to salvage until further notice */
+
     if (resultFile) {
        fp = afs_fopen(resultFile, "w");
        if (!fp) {

Reply via email to