]> git.baikalelectronics.ru Git - kernel.git/commit
fix deadlock in loop.c
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 13 May 2007 09:52:32 +0000 (05:52 -0400)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 13 May 2007 16:44:05 +0000 (09:44 -0700)
commit672a1475a926b626a81af63ede570a24f2690c25
treec9c534aa1be76b790b0d8a4415fd7d46f920c77c
parent2317b9c7466ec8132a2ca84f5e59c7cf6638ff84
fix deadlock in loop.c

... doh

Jeremy Fitzhardinge noted that the recent loop.c cleanups worked, but
cause lockdep to complain.

Ouch.  OK, the deadlock is real and yes, I'm an idiot.  Speaking of which,
we probably want to s/lock/pin/ in drivers/base/map.c to avoid such
brainos again.  And yes, this stuff needs clear documentation.  Will try
to put one together once I get some sleep...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/loop.c