diff options
author | Fabio D'Urso <fdurso@google.com> | 2024-06-18 02:36:57 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-06-19 12:42:03 +0200 |
commit | 283720489fdadadbd99774c2cdeff6635e396415 (patch) | |
tree | f8c14ed9b124bc1e77b376a857c4bc9e776aada5 /hw/intc/trace-events | |
parent | ce5311c47600a246995438e956f0090175e6965a (diff) | |
download | qemu-283720489fdadadbd99774c2cdeff6635e396415.zip qemu-283720489fdadadbd99774c2cdeff6635e396415.tar.gz qemu-283720489fdadadbd99774c2cdeff6635e396415.tar.bz2 |
hw/usb/dev-mtp: Correctly report free space
In order to compute the amount of free space (in bytes), the number
of available blocks (f_bavail) should be multiplied by the block
size (f_frsize) instead of the total number of blocks (f_blocks).
Signed-off-by: Fabio D'Urso <fdurso@google.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240618003657.3344685-1-fdurso@google.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/intc/trace-events')
0 files changed, 0 insertions, 0 deletions