diff options
author | Bin Meng <bin.meng@windriver.com> | 2022-09-08 21:28:15 +0800 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2022-10-31 10:06:11 +0100 |
commit | 588fec8a4c3fe9e0d1cb3f7ea6fdd46221e42814 (patch) | |
tree | 257c0242f31dd875d685299c4fccd4757e56042b /po | |
parent | a3c1e6458dbbe3647ccadfb39cbb585fdc4373a5 (diff) | |
download | qemu-588fec8a4c3fe9e0d1cb3f7ea6fdd46221e42814.zip qemu-588fec8a4c3fe9e0d1cb3f7ea6fdd46221e42814.tar.gz qemu-588fec8a4c3fe9e0d1cb3f7ea6fdd46221e42814.tar.bz2 |
block/nfs: Fix 32-bit Windows build
libnfs.h declares nfs_fstat() as the following for win32:
int nfs_fstat(struct nfs_context *nfs, struct nfsfh *nfsfh,
struct __stat64 *st);
The 'st' parameter should be of type 'struct __stat64'. The
codes happen to build successfully for 64-bit Windows, but it
does not build for 32-bit Windows.
Fixes: 6542aa9c75bc ("block: add native support for NFS")
Fixes: 18a8056e0bc7 ("block/nfs: cache allocated filesize for read-only files")
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Message-Id: <20220908132817.1831008-6-bmeng.cn@gmail.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions