diff options
| author | Dan Schatzberg <dschatzberg@fb.com> | 2019-11-22 12:00:34 -0800 |
|---|---|---|
| committer | Greg Kurz <groug@kaod.org> | 2019-11-23 15:51:48 +0100 |
| commit | 68d654daee4364a0eca589a547d716084d9cb33d (patch) | |
| tree | 206d0160ee0205abaaa695575cbac7ecb005c82a /hw/input/virtio-input.c | |
| parent | 2061735ff09f9d5e67c501a96227b470e7de69b1 (diff) | |
| download | focaccia-qemu-68d654daee4364a0eca589a547d716084d9cb33d.tar.gz focaccia-qemu-68d654daee4364a0eca589a547d716084d9cb33d.zip | |
9pfs: Fix divide by zero bug
Some filesystems may return 0s in statfs (trivially, a FUSE filesystem can do so). QEMU should handle this gracefully and just behave the same as if statfs failed. Signed-off-by: Dan Schatzberg <dschatzberg@fb.com> Acked-by: Christian Schoenebeck <qemu_oss@crudebyte.com> Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'hw/input/virtio-input.c')
0 files changed, 0 insertions, 0 deletions