Re: [PATCH] Fix blktrace setup 32-bit ioctl on 64-bit kernels

David Miller
2007-10-02T07:52:26Z

From: Jens Axboe <jens.axboe@oracle.com>
Date: Tue, 2 Oct 2007 09:39:43 +0200

> Hi,
>
> The layout of struct blk_user_trace_setup is a bit unfortunate, it gets
> padded differently on 32-bit and 64-bit archs. So right now it's not
> possible to trace 64-bit kernels with a 32-bit app. This patch fixes
> that up by adding a compat ioctl handler for BLKTRACESETUP.
>
> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

Acked-by: David S. Miller <davem@davemloft.net>