linux-call-afs-dopartialwrite-from-afs-memwrite-and-afs-ufswrite-not-afs-linux-write...
authorDerrick Brashear <shadow@dementia.org>
Mon, 17 Sep 2001 19:12:20 +0000 (19:12 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 17 Sep 2001 19:12:20 +0000 (19:12 +0000)
don't erroneously call fakeopen

src/afs/VNOPS/afs_vnop_write.c

index 08fa24e..8f6789f 100644 (file)
@@ -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.