git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Avoid kernel panic when dynroot and memcache are used simultaneously.
[openafs.git]
/
src
/
afs
/
afs_dcache.c
diff --git
a/src/afs/afs_dcache.c
b/src/afs/afs_dcache.c
index
b6177af
..
1efa8de
100644
(file)
--- a/
src/afs/afs_dcache.c
+++ b/
src/afs/afs_dcache.c
@@
-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)