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

Daniel Jacobowitz dmj+afs@andrew.cmu.edu
Sun, 16 Sep 2001 01:19:49 -0400


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?

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer