commit | f0a37e008750ead1751b7d5e89d220a260a46147 | [log] [tgz] |
---|---|---|
author | Chuck Ebbert <cebbert@redhat.com> | Tue Apr 15 14:34:47 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Apr 15 19:35:41 2008 -0700 |
tree | db808d329fc56dee2c518a3964f94e25af9941d3 | |
parent | d1e7780638a9192f15caf590e0081bf915fdef71 [diff] |
acpi: bus: check once more for an empty list after locking it 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>