diff options
author | Amit Shah <[email protected]> | 2013-07-29 14:24:15 +0930 |
---|---|---|
committer | Rusty Russell <[email protected]> | 2013-07-29 14:50:48 +0930 |
commit | 5549fb25811710585d5ec77a0e6a1fbc8808df93 (patch) | |
tree | ce02bc03118f48b02baa4690d0dd057ff589fbb9 /lib/memory-notifier-error-inject.c | |
parent | c6017e793b932e84b1c998f9b4c08d74ff0ea9c0 (diff) |
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 <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions