Re: [PATCH] virtio_blk: ioctl return value fix

From: Avi Kivity
Date: Wed Jul 08 2009 - 15:46:23 EST


On 07/08/2009 09:12 PM, Christoph Hellwig wrote:
On Tue, Jun 23, 2009 at 04:43:10PM +0930, Rusty Russell wrote:
On Sun, 21 Jun 2009 04:59:41 am Christoph Hellwig wrote:
Block driver ioctl methods must return ENOTTY and not -ENOIOCTLCMD if
they expect the block layer to handle generic ioctls.

This triggered a BLKROSET failure in xfsqa #200.
Applied.

Can you send on this fix to Linus? It fixes a regression introduced in
Linux 2.6.30.


It should set the Cc: stable@xxxxxxxxxx marker then.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
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/