block.c: remove BLKDAXGET support

BLKDAXGET was removed by linux kernel commit v4.7-rc1~78^2^2~4.

* block.c: Do not define BLKDAXGET.
(block_ioctl): Remove BLKDAXGET support.
* tests/ioctl_block.c (main): Remove BLKDAXGET test.
This commit is contained in:
Дмитрий Левин 2016-07-12 16:19:54 +00:00
parent 7acde9e994
commit 7fa29bbf35
2 changed files with 0 additions and 7 deletions

View File

@ -96,9 +96,6 @@ typedef struct blkpg_partition struct_blkpg_partition;
#ifndef BLKZEROOUT
# define BLKZEROOUT _IO(0x12,127)
#endif
#ifndef BLKDAXGET
# define BLKDAXGET _IO(0x12,129)
#endif
#include "xlat/blkpg_ops.h"
@ -150,7 +147,6 @@ MPERS_PRINTER_DECL(int, block_ioctl, struct tcb *tcp,
case BLKBSZGET:
case BLKSSZGET:
case BLKALIGNOFF:
case BLKDAXGET:
if (entering(tcp))
return 0;
/* fall through */

View File

@ -89,9 +89,6 @@ main(void)
#ifdef BLKALIGNOFF
TEST_NULL_ARG(BLKALIGNOFF);
#endif
#ifdef BLKDAXGET
TEST_NULL_ARG(BLKDAXGET);
#endif
#ifdef BLKDISCARD
TEST_NULL_ARG(BLKDISCARD);
#endif