summary refs log tree commit diff stats
path: root/linux-user/syscall_defs.h
diff options
context:
space:
mode:
authorMichael Vogt <mvogt@redhat.com>2024-04-03 11:20:49 +0200
committerRichard Henderson <richard.henderson@linaro.org>2024-04-24 15:46:00 -0700
commit7048fc59ef6a9f76693db3bafede6234a3897385 (patch)
tree305a1c875b5729ba2322e7a64336db959c7eb528 /linux-user/syscall_defs.h
parent88a722b6ad59bf6ca42c01ac806c54bd94d98642 (diff)
downloadfocaccia-qemu-7048fc59ef6a9f76693db3bafede6234a3897385.tar.gz
focaccia-qemu-7048fc59ef6a9f76693db3bafede6234a3897385.zip
linux-user: Add FITRIM ioctl
Tiny patch to add the missing FITRIM ioctl.

Signed-off-by: Michael Vogt <mvogt@redhat.com>
Message-Id: <20240403092048.16023-2-michael.vogt@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/syscall_defs.h')
-rw-r--r--linux-user/syscall_defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index 3995487630..a00b617cae 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -945,6 +945,7 @@ struct target_rtc_pll_info {
 
 #define TARGET_FIFREEZE    TARGET_IOWR('X', 119, abi_int)
 #define TARGET_FITHAW    TARGET_IOWR('X', 120, abi_int)
+#define TARGET_FITRIM    TARGET_IOWR('X', 121, struct fstrim_range)
 
 /*
  * Note that the ioctl numbers for FS_IOC_<GET|SET><FLAGS|VERSION>