diff options
author | Jakob Unterwurzacher | 2021-05-29 16:05:36 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-05-29 16:05:36 +0200 |
commit | 738a9e006af6f5e43871c2d8e208601c18191965 (patch) | |
tree | 48e52a90a2d59b622453497bff18482badd3e2b2 /go.sum | |
parent | c1d7e38761d35149f19524fa19d3afaaca73f302 (diff) |
fusefrontend: rewrite Lseek SEEK_DATA / SEEK_HOLE
In response to the discussion of the xfstests mailing list [1],
I looked at the Lseek implementation, which was naive and
did not handle all cases correctly.
The new implementation aligns the returned values to 4096 bytes
as most callers expect.
A lot of tests are added to verify that we handle all
cases correctly now.
[1]: https://www.spinics.net/lists/fstests/msg16554.html
Diffstat (limited to 'go.sum')
0 files changed, 0 insertions, 0 deletions