git://git.jankratochvil.net
/
captive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4faa592
)
Fixed to return proper bytecount.
author
lace
<>
Mon, 19 Dec 2005 20:27:44 +0000
(20:27 +0000)
committer
lace
<>
Mon, 19 Dec 2005 20:27:44 +0000
(20:27 +0000)
- That ton of messing FUSE documentation stuff in fact says it is normal!
src/client/fuse/op_read.c
patch
|
blob
|
history
diff --git
a/src/client/fuse/op_read.c
b/src/client/fuse/op_read.c
index
675e84c
..
6482c84
100644
(file)
--- a/
src/client/fuse/op_read.c
+++ b/
src/client/fuse/op_read.c
@@
-50,8
+50,5
@@
GnomeVFSFileSize bytes_read;
if (GNOME_VFS_OK!=(errvfsresult=captive_file_read(captive_file_object,buf,size,&bytes_read)))
return -gnomevfsresult_to_errno(errvfsresult);
- if (!fi->direct_io && bytes_read!=size)
- return 0;
-
return bytes_read;
}