[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [PATCH for-2.11] block/nfs: fix nfs_client_open for fi
From: |
Max Reitz |
Subject: |
Re: [Qemu-stable] [PATCH for-2.11] block/nfs: fix nfs_client_open for filesize greater than 1TB |
Date: |
Mon, 27 Nov 2017 22:34:51 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 2017-11-27 17:00, Peter Lieven wrote:
> DIV_ROUND_UP(st.st_size, BDRV_SECTOR_SIZE) was overflowing ret (int) if
> st.st_size is greater than 1TB.
>
> Cc: address@hidden
> Signed-off-by: Peter Lieven <address@hidden>
> ---
> block/nfs.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
Thanks, applied to my block branch:
https://github.com/XanClic/qemu/commits/block
Max
signature.asc
Description: OpenPGP digital signature