reiserfs: Fix remaining in-reclaim-fs <-> reclaim-fs-on locking inversion
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 29 Dec 2009 20:51:15 +0000 (21:51 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 29 Dec 2009 21:34:59 +0000 (22:34 +0100)
commit98ea3f50bcc97689cc0e1fa3b6733f03aeb8fef4
treed909a47008ed466e5119f21f366934be5a6276b8
parent47376ceba54600cec4dd9e7c4fe8b98e4269633a
reiserfs: Fix remaining in-reclaim-fs <-> reclaim-fs-on locking inversion

Commit 500f5a0bf5f0624dae34307010e240ec090e4cde
(reiserfs: Fix possible recursive lock) fixed a vmalloc under reiserfs
lock that triggered a lockdep warning because of a
IN-FS-RECLAIM <-> RECLAIM-FS-ON locking dependency inversion.

But this patch has ommitted another vmalloc call in the same path
that allocates the journal. Relax the lock for this one too.

Reported-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Ingo Molnar <mingo@elte.hu>
fs/reiserfs/journal.c