Fixed to return proper bytecount.
authorlace <>
Mon, 19 Dec 2005 20:27:44 +0000 (20:27 +0000)
committerlace <>
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

index 675e84c..6482c84 100644 (file)
@@ -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;
 }