Re: [PATCH v2] block: avoid false positive warnings on ioctl to partition

From: Linus Torvalds
Date: Tue Feb 28 2012 - 19:14:26 EST


On Mon, Feb 27, 2012 at 4:36 AM, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
> Ping.

So I'm still not convinced this is safe, and feel a bit worried about
us possibly silently missing some things. That

default:
return -ENOIOCTLCMD;

is what worries me.

Blocking the ones we *know* about and understand I'm perfectly fine
with. And the SG_IO case looks fine. It's the possibly unknown users
that still worry me.

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