jbd: do not try lock_acquire after handle made invalid
authorJonas Bonn <jonas.bonn@gmail.com>
Thu, 17 Jan 2008 23:21:13 +0000 (15:21 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 17 Jan 2008 23:38:59 +0000 (15:38 -0800)
commitf63dcda197bd71c6565c2121bf70e3d371539f90
treed0c64161017788d0dddd59687859ac0a67d0ad07
parent1d6f4e60e736a00b50ec668ba1a9fe27afb083a3
jbd: do not try lock_acquire after handle made invalid

This likely fixes the oops in __lock_acquire reported as:

http://www.kerneloops.org/raw.php?rawid=2753&msgid=
http://www.kerneloops.org/raw.php?rawid=2749&msgid=

In these reported oopses, start_this_handle is returning -EROFS.

Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/jbd/transaction.c