[OpenAFS-devel] OpenAFS 1.2.9 Release Candidate 5 now available for testing

Michael Niksch nik@zurich.ibm.com
Mon, 7 Apr 2003 16:22:33 +0200


--
--PART-BOUNDARY=.110304071622.ZM50620.ibm.com
Content-Type: text/plain; charset=us-ascii

> Please try out this release candidate and report your findings.

I suggest you add the attached patch to make namei salvager work
properly on AIX.

Is there any hope that the necessary changes for rs_aix51 will be
ported back to the 1.2.9 release?

-- 
Michael Niksch                     /Zurich/IBM @ IBMCH
IBM Zurich Research Laboratory     nik@zurich.ibm.com
Saeumerstrasse 4                   http://www.zurich.ibm.com/~nik/
CH-8803 Rueschlikon / Switzerland  P: +41-1-724-8913 F: +41-1-724-8080

--PART-BOUNDARY=.110304071622.ZM50620.ibm.com
X-Zm-Content-Name: vol-salvage.c.patch
Content-Description: Plain Text
Content-Type: text/plain ; name="vol-salvage.c.patch" ; charset=us-ascii

*** src/vol/vol-salvage.c.orig	Mon Feb 24 17:37:53 2003
--- src/vol/vol-salvage.c	Mon Apr  7 15:59:09 2003
***************
*** 2703,2712 ****
--- 2703,2713 ----
          }
  	return;
      }
   
  #ifdef AFS_AIX_ENV
+ #ifndef AFS_NAMEI_ENV
      /* On AIX machines, don't allow entries to point to inode 0. That is a special 
       * mount inode for the partition. If this inode were deleted, it would crash
       * the machine.
       */
      if (vnodeEssence->InodeNumber == 0) {
***************
*** 2718,2727 ****
--- 2719,2729 ----
  	 CopyOnWrite(dir);
  	 assert(Delete(&dir->dirHandle, name) == 0);
         }
         return;
      }
+ #endif
  #endif
  
      if (!(vnodeNumber & 1) && !Showmode &&
  	!(vnodeEssence->count || vnodeEssence->unique || vnodeEssence->modeBits)) {
         Log("dir vnode %d: invalid entry: %s/%s (vnode %d, unique %d)%s\n",

--PART-BOUNDARY=.110304071622.ZM50620.ibm.com--