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 b6177af..1efa8de 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)