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)
commit705962ccc9d21a08b74b6b6e1d3cf10f98968a67
treec9c534aa1be76b790b0d8a4415fd7d46f920c77c
parent39403865d2e4590802553370a56c9ab93131e4ee
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