Skip to content
Commit 68d654da authored by Dan Schatzberg's avatar Dan Schatzberg Committed by Greg Kurz
Browse files

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: default avatarDan Schatzberg <dschatzberg@fb.com>
Acked-by: default avatarChristian Schoenebeck <qemu_oss@crudebyte.com>
Signed-off-by: default avatarGreg Kurz <groug@kaod.org>
parent 2061735f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment