From: Amit Shah Date: Mon, 29 Jul 2013 04:54:15 +0000 (+0930) Subject: virtio: console: add locking in port unplug path X-Git-Tag: v3.12-rc1~85^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5549fb25811710585d5ec77a0e6a1fbc8808df93;p=pandora-kernel.git virtio: console: add locking in port unplug path Port unplug can race with close() in port_fops_release(). port_fops_release() already takes the necessary locks, ensure unplug_port() does that too. Signed-off-by: Amit Shah Signed-off-by: Rusty Russell --- Reading git-diff-tree failed