Ryusuke Konishi ff54de363a nilfs2: fix lockdep warning between regular file and inode file
This will fix the following false positive of recursive locking which
lockdep has detected:

=============================================
[ INFO: possible recursive locking detected ]
2.6.30-nilfs #42
---------------------------------------------
nilfs_cleanerd/10607 is trying to acquire lock:
 (&bmap->b_sem){++++-.}, at: [<e0d025b7>] nilfs_bmap_lookup_at_level+0x1a/0x74 [nilfs2]

but task is already holding lock:
 (&bmap->b_sem){++++-.}, at: [<e0d024e0>] nilfs_bmap_truncate+0x19/0x6a [nilfs2]
other info that might help us debug this:
2 locks held by nilfs_cleanerd/10607:
 #0:  (&nilfs->ns_segctor_sem){++++.+}, at: [<e0d0d75a>] nilfs_transaction_begin+0xb6/0x10c [nilfs2]
 #1:  (&bmap->b_sem){++++-.}, at: [<e0d024e0>] nilfs_bmap_truncate+0x19/0x6a [nilfs2]

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
2009-07-05 10:44:20 +09:00
..
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:19 -07:00
2009-04-07 08:31:19 -07:00
2009-04-07 08:31:14 -07:00
2009-04-07 08:31:14 -07:00
2009-06-24 08:17:05 -04:00
2009-04-07 08:31:16 -07:00
2009-04-07 08:31:13 -07:00
2009-06-24 08:17:05 -04:00
2009-04-07 08:31:13 -07:00
2009-06-11 21:36:18 -04:00
2009-06-24 08:17:05 -04:00