[OpenAFS] Re: [OpenAFS-devel] Re: OpenAFS bug, Cache gets full and is not flushed (fwd)

Derrick J Brashear shadow@dementia.org
Sun, 16 Sep 2001 01:20:51 -0400 (EDT)


obviously, i read openafs-devel.

On Sun, 16 Sep 2001, Daniel Jacobowitz wrote:

> On Sun, Sep 16, 2001 at 12:21:16AM -0400, Derrick J Brashear wrote:
> > diff -u -r1.8 -r1.7
> > --- src/afs/VNOPS/afs_vnop_write.c	2001/08/29 00:47:00	1.8
> > +++ src/afs/VNOPS/afs_vnop_write.c	2001/07/12 19:58:22	1.7
>
> > @@ -171,7 +171,7 @@
> >  	return (EFBIG);
> >      }
> >  #endif
> > -#if (!defined(AFS_VM_RDWR_ENV)||defined(AFS_LINUX20_ENV))
> > +#ifdef	AFS_VM_RDWR_ENV
> >      /*
> >       * If write is implemented via VM, afs_FakeOpen() is called from the
> >       * high-level write op.
>
> Is that right?  Don't you want an #ifndef?

It's correct as is.

-D