diff options
author | Helge Deller <deller@gmx.de> | 2017-02-11 23:26:02 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2017-02-16 15:29:30 +0100 |
commit | 21992cb6794a5f8edb0cee01bdfe0b03d0438dac (patch) | |
tree | a832f18b981da3ff0b3d3ead7ed990e66457dca6 /linux-user/ioctls.h | |
parent | 1e06262da615fcc0ddd658f96c5673a73b856fb6 (diff) |
linux-user: Add FICLONE and FICLONERANGE ioctls
Add missing FICLONE and FICLONERANGE ioctls.
Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20170211222602.GA6399@ls3530.fritz.box>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/ioctls.h')
-rw-r--r-- | linux-user/ioctls.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h index 2f6e85bd78..e6997ff230 100644 --- a/linux-user/ioctls.h +++ b/linux-user/ioctls.h @@ -112,6 +112,11 @@ #ifdef FIBMAP IOCTL(FIBMAP, IOC_W | IOC_R, MK_PTR(TYPE_LONG)) #endif +#ifdef FICLONE + IOCTL(FICLONE, IOC_W, TYPE_INT) + IOCTL(FICLONERANGE, IOC_W, MK_PTR(MK_STRUCT(STRUCT_file_clone_range))) +#endif + #ifdef FIGETBSZ IOCTL(FIGETBSZ, IOC_R, MK_PTR(TYPE_LONG)) #endif |