summaryrefslogtreecommitdiffstats
path: root/include/linux/virtio_9p.h
diff options
context:
space:
mode:
authorHuang Shijie <shijie8@gmail.com>2010-10-27 15:34:52 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-27 18:03:18 -0700
commit5de1cb2d0f1c1e5475d2bedf65b76828f8cdde22 (patch)
tree2f3dbb20f08bfbbdd1f4da144f9c18fec9cce7aa /include/linux/virtio_9p.h
parent144ecf310eb52d9df607b9b7eeb096743e232a96 (diff)
downloadlinux-5de1cb2d0f1c1e5475d2bedf65b76828f8cdde22.tar.gz
linux-5de1cb2d0f1c1e5475d2bedf65b76828f8cdde22.tar.bz2
linux-5de1cb2d0f1c1e5475d2bedf65b76828f8cdde22.zip
kernel/resource.c: handle reinsertion of an already-inserted resource
If the same resource is inserted to the resource tree (maybe not on purpose), a dead loop will be created. In this situation, The kernel does not report any warning or error :( The command below will show a endless print. #cat /proc/iomem [akpm@linux-foundation.org: add WARN_ON()] Signed-off-by: Huang Shijie <shijie8@gmail.com> Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/virtio_9p.h')
0 files changed, 0 insertions, 0 deletions