mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
451ee23a67
From fuse/dev.c in Linux kernel[1], max_write should not include the headers. Without this fix, the buffer returned by the FUSE device comes with a header that fails this check. [1] https://elixir.bootlin.com/linux/v5.11-rc7/source/fs/fuse/dev.c#L1220 BUG=chromium:1176310 TEST=large write succeeds after applying this fix Change-Id: I321c27a0ca005de6a021bdf044b7d859b57f1cfa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2685219 Tested-by: Victor Hsieh <victorhsieh@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Commit-Queue: Victor Hsieh <victorhsieh@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |