diff options
author | Michael Tokarev <mjt@tls.msk.ru> | 2024-08-29 09:39:50 +0300 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-09-20 08:06:56 +0300 |
commit | ac1bbe8ca46c550b3ad99c85744119a3ace7b4f4 (patch) | |
tree | 3f6d2ab0507f98aca2c82e7eb3343cc8b066d784 /python/scripts | |
parent | 5691f4778eb5061fa2e6d18c45a6ed7170d447a1 (diff) | |
download | qemu-ac1bbe8ca46c550b3ad99c85744119a3ace7b4f4.zip qemu-ac1bbe8ca46c550b3ad99c85744119a3ace7b4f4.tar.gz qemu-ac1bbe8ca46c550b3ad99c85744119a3ace7b4f4.tar.bz2 |
linux-user/syscall.c: drop 64 suffix from flock64 &Co
Since we are always building with LFS enabled, in particular
with -D_FILE_OFFSET_BITS=64, we should always have struct flock
mapped to the 64bit variant (with off64_t), and F_GETLK mapped
to F_GETLK64 etc, automatically.
So there should be no need to explicitly use the "64" suffix
for these things anymore.
Also fix a misleading comment near safe_fcntl telling us to
always use flock64 (since v2.6.0-1311-g435da5e7092a "linux-user:
Use safe_syscall wrapper for fcntl").
Reference: https://gitlab.com/qemu-project/qemu/-/issues/2215
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'python/scripts')
0 files changed, 0 insertions, 0 deletions