summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorPavel Machek <pavel@suse.cz>2009-01-15 13:51:03 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-02-12 09:50:38 -0800
commite117993af63778e46f68ea7477ff502e90d1c552 (patch)
treedd47e3adbb66f390fdacf305c4ab3ddfcef1f269 /Kbuild
parentf5d7b376ef4ef7acde7049d2c0f6222ccfcd964c (diff)
downloadlwn-e117993af63778e46f68ea7477ff502e90d1c552.tar.gz
lwn-e117993af63778e46f68ea7477ff502e90d1c552.zip
nbd: do not allow two clients at the same time
commit c91192d66d6cea7878b8542c9d9f1873971aba92 upstream. Two nbd-clients at same time are bad idea, and cause WARN_ON from nbd in 2.6.28-rc7 from sysfs_add_one. This simply prevents that from happening. To reproduce: cat /dev/zero | head -c 10000000 > /tmp/delme.fstest.fs nbd-server 9100 -l /anyone.can.connect > /tmp/delme.fstest.fs & sleep 1 nbd-client localhost 9100 /dev/nd0 & nbd-client localhost 9100 /dev/nd0 & Signed-off-by: Pavel Machek <pavel@suse.cz> Acked-by: Paul Clements <paul.clements@steeleye.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions