misc: Fix allocation 'borrowed' by vhost_net
commit79907d89c397b8bc2e05b347ec94e928ea919d33
authorAlan Cox <alan@linux.intel.com>
Wed, 9 Jun 2010 08:39:49 +0000 (9 09:39 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 9 Jun 2010 15:50:31 +0000 (9 08:50 -0700)
tree1f0047491ef1424272f14a032acf01f569fe84c4
parent84f7586edab93052bbe7eb72e1e9bce5f7b6ae45
misc: Fix allocation 'borrowed' by vhost_net

10, 233 is allocated officially to /dev/kmview which is shipping in
Ubuntu and Debian distributions.  vhost_net seem to have borrowed it
without making a proper request and this causes regressions in the other
distributions.

vhost_net can use a dynamic minor so use that instead.  Also update the
file with a comment to try and avoid future misunderstandings.

cc: stable@kernel.org
Signed-off-by: Alan Cox <device@lanana.org>
[ We should have caught this before 2.6.34 got released.  - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/vhost/net.c
include/linux/miscdevice.h