]> granicus.if.org Git - strace/commit
ioctl: add decoding support for btrfs ioctls
authorJeff Mahoney <jeffm@suse.com>
Wed, 18 May 2016 22:09:39 +0000 (18:09 -0400)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 24 May 2016 14:52:27 +0000 (14:52 +0000)
commit8cc6962216d302525be2ba4575932061bb4abd15
treeb2b59fbd008dc5cc02a23a551b982c9ed73ac58a
parentc4d4d3c3a690dcbc6135f60ce584bb8eeb4f3100
ioctl: add decoding support for btrfs ioctls

* btrfs.c: New file.
* file_ioctl.c: Likewise.
* Makefile.am (strace_SOURCES): Add them.
* configure.ac (AC_CHECK_HEADERS): Add linux/btrfs.h.
(AC_CHECK_MEMBERS): Add struct btrfs_ioctl_feature_flags.compat_flags,
struct btrfs_ioctl_fs_info_args.nodesize,
struct btrfs_ioctl_defrag_range_args.start,
and struct btrfs_ioctl_search_args_v2.buf_size.
(AC_CHECK_DECLS): Add BTRFS_COMPRESS_* enums.
* defs.h (btrfs_ioctl, file_ioctl): New prototypes.
* ioctl.c (ioctl_decode) [HAVE_LINUX_BTRFS_H]: Use btrfs_ioctl.
* xlat/btrfs_balance_args.in: New file.
* xlat/btrfs_balance_ctl_cmds.in: Likewise.
* xlat/btrfs_balance_flags.in: Likewise.
* xlat/btrfs_balance_state.in: Likewise.
* xlat/btrfs_compress_types.in: Likewise.
* xlat/btrfs_defrag_flags.in: Likewise.
* xlat/btrfs_dev_replace_cmds.in: Likewise.
* xlat/btrfs_dev_replace_results.in: Likewise.
* xlat/btrfs_dev_replace_state.in: Likewise.
* xlat/btrfs_dev_stats_flags.in: Likewise.
* xlat/btrfs_dev_stats_values.in: Likewise.
* xlat/btrfs_features_compat.in: Likewise.
* xlat/btrfs_features_compat_ro.in: Likewise.
* xlat/btrfs_features_incompat.in: Likewise.
* xlat/btrfs_key_types.in: Likewise.
* xlat/btrfs_qgroup_ctl_cmds.in: Likewise.
* xlat/btrfs_qgroup_inherit_flags.in: Likewise.
* xlat/btrfs_qgroup_limit_flags.in: Likewise.
* xlat/btrfs_qgroup_status_flags.in: Likewise.
* xlat/btrfs_scrub_flags.in: Likewise.
* xlat/btrfs_send_flags.in: Likewise.
* xlat/btrfs_snap_flags_v2.in: Likewise.
* xlat/btrfs_space_info_flags.in: Likewise.
* xlat/btrfs_tree_objectids.in: Likewise.
30 files changed:
Makefile.am
btrfs.c [new file with mode: 0644]
configure.ac
defs.h
file_ioctl.c [new file with mode: 0644]
ioctl.c
xlat/btrfs_balance_args.in [new file with mode: 0644]
xlat/btrfs_balance_ctl_cmds.in [new file with mode: 0644]
xlat/btrfs_balance_flags.in [new file with mode: 0644]
xlat/btrfs_balance_state.in [new file with mode: 0644]
xlat/btrfs_compress_types.in [new file with mode: 0644]
xlat/btrfs_defrag_flags.in [new file with mode: 0644]
xlat/btrfs_dev_replace_cmds.in [new file with mode: 0644]
xlat/btrfs_dev_replace_results.in [new file with mode: 0644]
xlat/btrfs_dev_replace_state.in [new file with mode: 0644]
xlat/btrfs_dev_stats_flags.in [new file with mode: 0644]
xlat/btrfs_dev_stats_values.in [new file with mode: 0644]
xlat/btrfs_features_compat.in [new file with mode: 0644]
xlat/btrfs_features_compat_ro.in [new file with mode: 0644]
xlat/btrfs_features_incompat.in [new file with mode: 0644]
xlat/btrfs_key_types.in [new file with mode: 0644]
xlat/btrfs_qgroup_ctl_cmds.in [new file with mode: 0644]
xlat/btrfs_qgroup_inherit_flags.in [new file with mode: 0644]
xlat/btrfs_qgroup_limit_flags.in [new file with mode: 0644]
xlat/btrfs_qgroup_status_flags.in [new file with mode: 0644]
xlat/btrfs_scrub_flags.in [new file with mode: 0644]
xlat/btrfs_send_flags.in [new file with mode: 0644]
xlat/btrfs_snap_flags_v2.in [new file with mode: 0644]
xlat/btrfs_space_info_flags.in [new file with mode: 0644]
xlat/btrfs_tree_objectids.in [new file with mode: 0644]