rust-vmm / vmm-sys-util

Helpers and utilities used by multiple rust-vmm components and VMMs
BSD 3-Clause "New" or "Revised" License
78 stars 64 forks source link

linux: {seek_hole, write_zeroes}: Fix clippy issue #185

Closed rbradford closed 1 year ago

rbradford commented 1 year ago

Summary of the PR

Fix clippy issue from latest clippy about use of SeekFrom::Start(0) rather than .rewind()

This allows rust-vmm-ci update.

Requirements

Before submitting your PR, please make sure you addressed the following requirements: