summary refs log tree commit diff
path: root/sys_util/src/lib.rs
diff options
context:
space:
mode:
authorDaniel Verkamp <dverkamp@chromium.org>2019-01-03 09:40:01 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-01-05 20:08:27 -0800
commit70eb15dbb7cca5672c6e37e0f1853bf5b47c5a78 (patch)
tree5c132f8b936a3e2816f0b9d1302634dc8f6590c7 /sys_util/src/lib.rs
parent2f0318fc81f0aba9e45897915a0a606edf89271f (diff)
downloadcrosvm-70eb15dbb7cca5672c6e37e0f1853bf5b47c5a78.tar
crosvm-70eb15dbb7cca5672c6e37e0f1853bf5b47c5a78.tar.gz
crosvm-70eb15dbb7cca5672c6e37e0f1853bf5b47c5a78.tar.bz2
crosvm-70eb15dbb7cca5672c6e37e0f1853bf5b47c5a78.tar.lz
crosvm-70eb15dbb7cca5672c6e37e0f1853bf5b47c5a78.tar.xz
crosvm-70eb15dbb7cca5672c6e37e0f1853bf5b47c5a78.tar.zst
crosvm-70eb15dbb7cca5672c6e37e0f1853bf5b47c5a78.zip
devices: block: protect disk_size with a mutex
This will allow the disk size to be changed from the worker thread
during resize operations.

BUG=chromium:858815
TEST=build_test

Change-Id: I0b2e1a057831856b44f19c2ba30b4dd1ffdeafc3
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1394151
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Reviewed-by: Zach Reizner <zachr@chromium.org>
Diffstat (limited to 'sys_util/src/lib.rs')
0 files changed, 0 insertions, 0 deletions