summaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2016-05-25 07:33:02 +0000
committerDmitry V. Levin <ldv@altlinux.org>2016-05-25 07:33:02 +0000
commita41fdb57863975aa7c344ddc6b846d1138a1c6de (patch)
tree93cc813c6a96aa503f666aebdb2f5f9c13c9a461 /block.c
parentf8da0f3e78d2bc80ca62a73e026a38a17e0a1387 (diff)
downloadstrace-a41fdb57863975aa7c344ddc6b846d1138a1c6de.tar.gz
block.c: handle BLKDAXGET
* block.c [!BLKDAXGET] (BLKDAXGET): Define. (block_ioctl): Handle it.
Diffstat (limited to 'block.c')
-rw-r--r--block.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/block.c b/block.c
index 1e02fa71b..af7f6d4ff 100644
--- a/block.c
+++ b/block.c
@@ -84,6 +84,9 @@ struct blk_user_trace_setup {
#ifndef BLKZEROOUT
# define BLKZEROOUT _IO(0x12,127)
#endif
+#ifndef BLKDAXGET
+# define BLKDAXGET _IO(0x12,129)
+#endif
#include "xlat/blkpg_ops.h"
@@ -142,6 +145,7 @@ block_ioctl(struct tcb *tcp, const unsigned int code, const long arg)
case BLKBSZGET:
case BLKSSZGET:
case BLKALIGNOFF:
+ case BLKDAXGET:
if (entering(tcp))
return 0;
tprints(", ");