|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH] hw/usb/dev-mtp: Correctly report free space |
Date: | Tue, 18 Jun 2024 17:40:30 +0200 |
User-agent: | Mozilla Thunderbird |
On 18/6/24 02:36, Fabio D'Urso wrote:
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 <[email protected]> --- hw/usb/dev-mtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Patch queued, thanks!
[Prev in Thread] | Current Thread | [Next in Thread] |