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

From: David Miller
Date: Tue Oct 02 2007 - 03:52:29 EST


From: Jens Axboe <jens.axboe@xxxxxxxxxx>
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@xxxxxxxxxx>

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/