git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Revert "osi_UFSOpen returns struct osi_file *"
[openafs.git]
/
src
/
afs
/
VNOPS
/
afs_vnop_read.c
diff --git
a/src/afs/VNOPS/afs_vnop_read.c
b/src/afs/VNOPS/afs_vnop_read.c
index
a575c2f
..
6ca652b
100644
(file)
--- a/
src/afs/VNOPS/afs_vnop_read.c
+++ b/
src/afs/VNOPS/afs_vnop_read.c
@@
-785,7
+785,7
@@
afs_UFSRead(register struct vcache *avc, struct uio *auio,
}
} else {
/* get the data from the file */
- tfile = osi_UFSOpen(&tdc->f.inode);
+ tfile = (struct osi_file *)osi_UFSOpen(&tdc->f.inode);
#ifdef AFS_DARWIN80_ENV
trimlen = len;
tuiop = afsio_darwin_partialcopy(auio, trimlen);