[PATCH 2/4] ioctl: add decoding for FS_IOC_FIEMAP
Dmitry V. Levin
ldv at altlinux.org
Sat May 21 02:51:59 UTC 2016
On Wed, May 18, 2016 at 06:09:40PM -0400, jeffm at suse.com wrote:
> From: Jeff Mahoney <jeffm at suse.com>
>
> * file_ioctl.c: Add it.
> * ioctl.c: Add special handling for 'f' code ioctls.
> ---
> file_ioctl.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> ioctl.c | 11 +++++++++-
> 2 files changed, 78 insertions(+), 1 deletion(-)
>
> diff --git a/file_ioctl.c b/file_ioctl.c
> index 3a735dc..c803576 100644
> --- a/file_ioctl.c
> +++ b/file_ioctl.c
> @@ -28,6 +28,11 @@
> #include "defs.h"
> #include <sys/ioctl.h>
> #include <linux/fs.h>
> +#include <linux/fiemap.h>
Looks like <linux/fiemap.h> was not available before v2.6.28-rc1.
Something has to be done with it.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160521/b7675936/attachment.bin>
More information about the Strace-devel
mailing list