fix translation of statx structures

-----BEGIN PGP SIGNATURE-----
 
 iQJGBAABCAAwFiEEzS913cjjpNwuT1Fz8ww4vT8vvjwFAl3cAYMSHGxhdXJlbnRA
 dml2aWVyLmV1AAoJEPMMOL0/L748tZwP/2tmOZ0QFqL2CCiK+GH/OwMMQpW7aZrq
 c/BgYsllJrbFvDVlsL31+TYCHDpi2mZcz58+fc4Rn6IgikgnTiFTWMHv2Zw1GA4o
 pjWmMZuF4hNwIcJRAzOdiI+KeJqMZIKMOSQmdiv6VhETeX2w/B0Drh1nkoT6gUby
 IqSQLW+W1Nz21POZ4abqR9XEb6D2YX2UIq7DLtO4fv1LcHjRbR3RMPMiJ3XDt8+C
 HqpMyYAqTHJF9uIqd6uVxfvmmEr/fxFSAaE5zVnML9GOu2h7sZFOc60EHS9Maik3
 TRDOaVHiiHnvugaTIgAihJ8jrdj7RAue/ugR25w3bIU+zuCH3QuA6cIJRaxYMeFl
 4BqIVHUJbG/kprIvGtuUaK+I/xUiFUiRsCa4HLKu/z0Yi5jAH+FwLv/hfVgNaw1e
 f9ISYQ2RNDUGiuJlqi8cTJFMdO726apT7nWoXhDck70QDDaXCvV06b+skVckufTv
 RP7a2iR9QOxd35KojJjChswL77BmOk2WyLpT+TTe4UPmOaLjtBYOgSWeDx1baEtz
 qR9KrnCi6YwCyg3zqvLdz2SyKwVkxtXFBb1m5w1zA8ecKVO8DMmfX//hZP7OZlwR
 gsXtlsTHG/G7dMabL7ll8UZu7qIONtmeRMX3oSFEicIt5pTf7a0zaL93bZEHekVS
 7N0uLQqRJa9C
 =Jpf9
 -----END PGP SIGNATURE-----

Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-4.2-pull-request' into staging

fix translation of statx structures

# gpg: Signature made Mon 25 Nov 2019 16:29:55 GMT
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
# gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" [full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* remotes/vivier2/tags/linux-user-for-4.2-pull-request:
  linux-user: fix translation of statx structures

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Peter Maydell 2019-11-26 13:15:59 +00:00
commit 8e6a243a85
1 changed files with 6 additions and 6 deletions

View File

@ -6743,12 +6743,12 @@ static inline abi_long host_to_target_statx(struct target_statx *host_stx,
__put_user(host_stx->stx_attributes_mask, &target_stx->stx_attributes_mask);
__put_user(host_stx->stx_atime.tv_sec, &target_stx->stx_atime.tv_sec);
__put_user(host_stx->stx_atime.tv_nsec, &target_stx->stx_atime.tv_nsec);
__put_user(host_stx->stx_btime.tv_sec, &target_stx->stx_atime.tv_sec);
__put_user(host_stx->stx_btime.tv_nsec, &target_stx->stx_atime.tv_nsec);
__put_user(host_stx->stx_ctime.tv_sec, &target_stx->stx_atime.tv_sec);
__put_user(host_stx->stx_ctime.tv_nsec, &target_stx->stx_atime.tv_nsec);
__put_user(host_stx->stx_mtime.tv_sec, &target_stx->stx_atime.tv_sec);
__put_user(host_stx->stx_mtime.tv_nsec, &target_stx->stx_atime.tv_nsec);
__put_user(host_stx->stx_btime.tv_sec, &target_stx->stx_btime.tv_sec);
__put_user(host_stx->stx_btime.tv_nsec, &target_stx->stx_btime.tv_nsec);
__put_user(host_stx->stx_ctime.tv_sec, &target_stx->stx_ctime.tv_sec);
__put_user(host_stx->stx_ctime.tv_nsec, &target_stx->stx_ctime.tv_nsec);
__put_user(host_stx->stx_mtime.tv_sec, &target_stx->stx_mtime.tv_sec);
__put_user(host_stx->stx_mtime.tv_nsec, &target_stx->stx_mtime.tv_nsec);
__put_user(host_stx->stx_rdev_major, &target_stx->stx_rdev_major);
__put_user(host_stx->stx_rdev_minor, &target_stx->stx_rdev_minor);
__put_user(host_stx->stx_dev_major, &target_stx->stx_dev_major);