linux-call-afs-dopartialwrite-from-afs-memwrite-and-afs-ufswrite-not-afs-linux-write-20010828

don't erroneously call fakeopen
This commit is contained in:
Derrick Brashear 2001-09-17 19:12:20 +00:00
parent b80f8ab2cb
commit e53c63cc1c

View 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.