git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
LINUX: Return NULL for afs_linux_raw_open error
[openafs.git]
/
src
/
afs
/
afs_disconnected.c
diff --git
a/src/afs/afs_disconnected.c
b/src/afs/afs_disconnected.c
index
957bf93
..
fd6abe2
100644
(file)
--- a/
src/afs/afs_disconnected.c
+++ b/
src/afs/afs_disconnected.c
@@
-707,6
+707,7
@@
afs_ProcessOpCreate(struct vcache *avc, struct vrequest *areq,
}
ObtainReadLock(&tdc->lock);
tfile = afs_CFileOpen(&tdc->f.inode);
+ osi_Assert(tfile);
code = afs_CFileRead(tfile, 0, ttargetName, tlen);
ttargetName[tlen-1] = '\0';
afs_CFileClose(tfile);