Re: [AVFS] avfs on Linux 2.6

[email protected] Thu, 30 Jun 2005 09:19:42 -0300
Newsgroups gmane.comp.file-systems.avfs.user
Message-ID <20050630121942.GC14393@malaquias>
On Thu, Jun 30, 2005 at 09:17:56AM -0300, [email protected] wrote:
> On Thu, Jun 30, 2005 at 08:54:02AM -0300, [email protected] wrote:
> > Two hunks have failed when applying the patch to
> > avfs-0.9.5. One concerns debuging, as you noted.
> > The other rejected hunk is attached.
> 
> The wrong reject file was attached. The correct
> is this.

Romildo
child.c.rej (text/plain, 654 B)
***************
*** 434,443 ****
  	if(ret == -1) 
  	    rep->oh.result = errno;
  	else {
  	    /* We don"t know these */
- 	    rep->coda_lookup.VFid.Volume = 0;
- 	    rep->coda_lookup.VFid.Vnode  = 0;
- 	    rep->coda_lookup.VFid.Unique = 0; 
  	    rep->coda_lookup.vtype = st2type(&stbuf);
  	}
  	break;
--- 434,445 ----
  	if(ret == -1) 
  	    rep->oh.result = errno;
  	else {
+         struct AvfsFid *id = (struct AvfsFid *)&rep->coda_lookup.VFid;
  	    /* We don"t know these */
+ 	    id->Unused0 = 0;
+ 	    id->Unused1 = 0;
+ 	    id->Unused2 = 0;
+ 	    id->Unique = 0;
  	    rep->coda_lookup.vtype = st2type(&stbuf);
  	}
  	break;