]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Avoid kernel panic when dynroot and memcache are used simultaneously.
authorNickolai Zeldovich <kolya@mit.edu>
Thu, 9 May 2002 21:37:29 +0000 (21:37 +0000)
committerNickolai Zeldovich <kolya@mit.edu>
Thu, 9 May 2002 21:37:29 +0000 (21:37 +0000)
src/afs/afs_dcache.c

index b6177af12cc3dd560d376c67c921507008add54d..1efa8def0ec01956f5cffed10e460d860d3c40c8 100644 (file)
@@ -2127,7 +2127,7 @@ RetryLookup:
            if (size > dynrootLen)
                size = dynrootLen;
            if (size < 0) size = 0;
-           code = afs_osi_Write(file, -1, dynrootDir, size);
+           code = afs_CFileWrite(file, 0, dynrootDir, size);
            afs_PutDynroot();
 
            if (code == size)