block: provide compat ioctl for BLKZEROOUT
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 2 Jul 2014 16:46:23 +0000 (12:46 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Jul 2014 19:52:54 +0000 (12:52 -0700)
commit3b968e0cc905310a19bc0b8f0f77600abf1aed2d
tree41c6dd605b030da1f187f462350c7d3af22b7ab8
parent1e0f78a45f36d311deb20c6dba8b1520bd35d9d7
block: provide compat ioctl for BLKZEROOUT

commit 3b3a1814d1703027f9867d0f5cbbfaf6c7482474 upstream.

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>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
block/compat_ioctl.c