From: Matthew Wilcox Date: Tue, 15 Jan 2008 04:28:30 +0000 (-0700) Subject: file locks: Use wait_event_interruptible_timeout() X-Git-Tag: v2.6.25-rc1~1060^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4321e01e7dce8042758349ffa2929c723b0d4107;p=pandora-kernel.git file locks: Use wait_event_interruptible_timeout() interruptible_sleep_on_locked() is just an open-coded wait_event_interruptible_timeout(), with the one difference that interruptible_sleep_on_locked() doesn't bother to check the condition on which it is waiting, depending instead on the BKL to avoid the case where it blocks after the wakeup has already been called. locks_block_on_timeout() is only used in one place, so it's actually simpler to inline it into its caller. Signed-off-by: Matthew Wilcox Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed