From 9e8aa131d3e9884ff1244dc300aeb40879c7ceb5 Mon Sep 17 00:00:00 2001 From: Chirantan Ekbote Date: Thu, 26 Mar 2020 16:33:41 +0900 Subject: 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 Tested-by: kokoro Commit-Queue: Daniel Verkamp Reviewed-by: Daniel Verkamp --- devices/src/virtio/fs/passthrough.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devices/src/virtio/fs') 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, ) -- cgit 1.4.1