From: Derrick Brashear Date: Mon, 17 Sep 2001 19:12:20 +0000 (+0000) Subject: linux-call-afs-dopartialwrite-from-afs-memwrite-and-afs-ufswrite-not-afs-linux-write... X-Git-Tag: openafs-devel-1_3_0~300 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=e53c63cc1c26397ca8fb4a3bca523c3c5d5b7248;p=packages%2Fo%2Fopenafs.git linux-call-afs-dopartialwrite-from-afs-memwrite-and-afs-ufswrite-not-afs-linux-write-20010828 don't erroneously call fakeopen --- diff --git a/src/afs/VNOPS/afs_vnop_write.c b/src/afs/VNOPS/afs_vnop_write.c index 08fa24ebc..8f6789fe1 100644 --- a/src/afs/VNOPS/afs_vnop_write.c +++ b/src/afs/VNOPS/afs_vnop_write.c @@ -171,7 +171,7 @@ afs_MemWrite(avc, auio, aio, acred, noLock) 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.