diff options
author | Chirantan Ekbote <chirantan@chromium.org> | 2020-03-26 16:33:41 +0900 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-26 17:32:29 +0000 |
commit | 9e8aa131d3e9884ff1244dc300aeb40879c7ceb5 (patch) | |
tree | bab244dfaa09239c0726b41ba2e05036e2a23eca /devices/src/virtio/fs | |
parent | 22964eab8874d41cf0eadf03dfeb1ffb653283e5 (diff) | |
download | crosvm-9e8aa131d3e9884ff1244dc300aeb40879c7ceb5.tar crosvm-9e8aa131d3e9884ff1244dc300aeb40879c7ceb5.tar.gz crosvm-9e8aa131d3e9884ff1244dc300aeb40879c7ceb5.tar.bz2 crosvm-9e8aa131d3e9884ff1244dc300aeb40879c7ceb5.tar.lz crosvm-9e8aa131d3e9884ff1244dc300aeb40879c7ceb5.tar.xz crosvm-9e8aa131d3e9884ff1244dc300aeb40879c7ceb5.tar.zst crosvm-9e8aa131d3e9884ff1244dc300aeb40879c7ceb5.zip |
devices: fs: Add missing `&` in copy_file_range
`offset_dst` is supposed to be a pointer. BUG=none TEST=none Change-Id: I033501ba5a57a130625e68be88457b15ad1484ef Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2120762 Auto-Submit: Chirantan Ekbote <chirantan@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Diffstat (limited to 'devices/src/virtio/fs')
-rw-r--r-- | devices/src/virtio/fs/passthrough.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/src/virtio/fs/passthrough.rs b/devices/src/virtio/fs/passthrough.rs index 419d466..6706272 100644 --- a/devices/src/virtio/fs/passthrough.rs +++ b/devices/src/virtio/fs/passthrough.rs @@ -1738,7 +1738,7 @@ impl FileSystem for PassthroughFs { src, &offset_src, dst, - offset_dst, + &offset_dst, length, flags, ) |