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:
parent
7acde9e994
commit
7fa29bbf35
4
block.c
4
block.c
@ -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 */
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user