From: Paolo Bonzini Date: Wed, 8 Jul 2009 10:27:37 +0000 (+0200) Subject: xen: fix is_disconnected_device/exists_disconnected_device X-Git-Tag: v2.6.33-rc1~327^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6e1971139be1342902873181f3b80a979bfb33b;p=pandora-kernel.git xen: fix is_disconnected_device/exists_disconnected_device The logic of is_disconnected_device/exists_disconnected_device is wrong in that they are used to test whether a device is trying to connect (i.e. connecting). For this reason the patch fixes them to not consider a Closing or Closed device to be connecting. At the same time the patch also renames the functions according to what they really do; you could say a closed device is "disconnected" (the old name), but not "connecting" (the new name). This patch is a backport of changeset 909 from the Xenbits tree. Cc: Jeremy Fitzhardinge Signed-off-by: Paolo Bonzini Signed-off-by: Jeremy Fitzhardinge --- Reading git-diff-tree failed