]> granicus.if.org Git - strace/commit
Move parser of 'X' type ioctls to a separate file
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 26 May 2016 00:37:26 +0000 (00:37 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 26 May 2016 14:44:13 +0000 (14:44 +0000)
commit4dd9f3f038683e9b3b92539c204d6009121dd77a
treeea0fa68cbdf1baea5f001e499d04f0d9cca6de8e
parentb3f00403c30e2c268d4a7b8d8b37e26f32f41d78
Move parser of 'X' type ioctls to a separate file

* fs_x_ioctl.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* block.c: (block_ioctl): Move parser of FITRIM, FIFREEZE, and FITHAW
to fs_x_ioctl.c.
* defs.h (fs_x_ioctl): New prototype.
* ioctl.c (ioctl_decode): Call fs_x_ioctl for ioctl type 'X'.
Makefile.am
block.c
defs.h
fs_x_ioctl.c [new file with mode: 0644]
ioctl.c