From e53c63cc1c26397ca8fb4a3bca523c3c5d5b7248 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 17 Sep 2001 19:12:20 +0000 Subject: [PATCH] linux-call-afs-dopartialwrite-from-afs-memwrite-and-afs-ufswrite-not-afs-linux-write-20010828 don't erroneously call fakeopen --- src/afs/VNOPS/afs_vnop_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/VNOPS/afs_vnop_write.c b/src/afs/VNOPS/afs_vnop_write.c index 08fa24ebc7..8f6789fe16 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.