]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
acpi: bus: check once more for an empty list after locking it
authorChuck Ebbert <cebbert@redhat.com>
Wed, 16 Apr 2008 02:45:05 +0000 (02:45 +0000)
committerChris Wright <chrisw@sous-sol.org>
Sat, 19 Apr 2008 01:53:30 +0000 (18:53 -0700)
commitbcf7b3914e9cd04e09685a1460da8b90e46a8001
treefb033cb32726a66a02afcb340b012e8426550a81
parentd51b295acd90c52a01b0afb316833c2783e1fb14
acpi: bus: check once more for an empty list after locking it

upstream commit: f0a37e008750ead1751b7d5e89d220a260a46147

List could have become empty after the unlocked check that was made earlier,
so check again inside the lock.

Should fix https://bugzilla.redhat.com/show_bug.cgi?id=427765

Signed-off-by: Chuck Ebbert <cebbert@redhat.com>
Cc: <stable@kernel.org>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/acpi/bus.c