Searched hist:11098 (Results 1 - 1 of 1) sorted by relevance

/linux-master/fs/
H A Dpipe.cdiff 023d43c7 Tue Jul 21 02:09:23 MDT 2009 Peter Zijlstra <peterz@infradead.org> lockdep: Fix lockdep annotation for pipe_double_lock()

The presumed use of the pipe_double_lock() routine is to lock 2 locks in
a deadlock free way by ordering the locks by their address. However it
fails to keep the specified lock classes in order and explicitly
annotates a deadlock.

Rectify this.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Miklos Szeredi <mszeredi@suse.cz>
LKML-Reference: <1248163763.15751.11098.camel@twins>

Completed in 208 milliseconds