Use list_first_entry in locks_wake_up_blocks
authorPavel Emelyanov <xemul@openvz.org>
Wed, 19 Sep 2007 12:44:07 +0000 (16:44 +0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 9 Oct 2007 22:32:45 +0000 (18:32 -0400)
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>
fs/locks.c

diff --cc fs/locks.c
Simple merge