commit | f0c1cd0eaf0b127356c2c09e40305453bc361b0f | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@openvz.org> | Wed Sep 19 16:44:07 2007 +0400 |
committer | J. Bruce Fields <bfields@citi.umich.edu> | Tue Oct 09 18:32:45 2007 -0400 |
tree | e522f8d83b439442aeb8c1b9c2a94941f6a95b1a | |
parent | 02888f41e9d7fa95d1f5b2f76e0f0af6ea8198cc [diff] |
Use list_first_entry in locks_wake_up_blocks This routine deletes all the elements from the list with the "while (!list_empty())" loop, and we already have a list_first_entry() macro to help it look nicer :) Signed-off-by: Pavel Emelyanov <xemul@openvz.org>