OSDN Git Service

block: provide compat ioctl for BLKZEROOUT
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 2 Jul 2014 16:46:23 +0000 (12:46 -0400)
committerJens Axboe <axboe@fb.com>
Mon, 14 Jul 2014 10:27:20 +0000 (12:27 +0200)
commit3b3a1814d1703027f9867d0f5cbbfaf6c7482474
treeac60a1657655dd7a1aca68879faf2dfdcd5b62ce
parent0b462c89e31f7eb6789713437eb551833ee16ff3
block: provide compat ioctl for BLKZEROOUT

This patch provides the compat BLKZEROOUT ioctl. The argument is a pointer
to two uint64_t values, so there is no need to translate it.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org # 3.7+
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/compat_ioctl.c