aboutsummaryrefslogtreecommitdiff
path: root/internal/ctlsock/ctlsock_serve.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-10-21 17:43:21 +0200
committerJakob Unterwurzacher2017-10-21 17:43:21 +0200
commit268e0484e24c3ecf9ec8df189a18cbbf36f81d1a (patch)
treeb81428ee7ac6a670a333970501a822e0e50fc650 /internal/ctlsock/ctlsock_serve.go
parentb3c20e512fc3eae27976853735d5e1554996cb62 (diff)
Revert most of "fusefrontend: clamp oversized reads"
We cannot return less data than requested to the kernel! From https://libfuse.github.io/doxygen/structfuse__operations.html: Read should return exactly the number of bytes requested except on EOF or error, otherwise the rest of the data will be substituted with zeroes. Reverts commit 3009ec9852316c3c696f77f476390ab5a6d8d6d7 minus the formatting improvements we want to keep. Fixes https://github.com/rfjakob/gocryptfs/issues/147 Reopens https://github.com/rfjakob/gocryptfs/issues/145
Diffstat (limited to 'internal/ctlsock/ctlsock_serve.go')
0 files changed, 0 insertions, 0 deletions