nilfs2: fix lockdep recursive locking warning on meta data files
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Thu, 26 Mar 2009 17:53:12 +0000 (02:53 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Mon, 13 Apr 2009 00:53:50 +0000 (09:53 +0900)
commitc2698e50e304cd29a7836f05452359a3306a405e
tree5d376538eb2937a7481c1303152e3b450049a7df
parentbcb48891b05b4179edc86298d3dccb2ce90d5413
nilfs2: fix lockdep recursive locking warning on meta data files

This fixes the following false detection of lockdep against nilfs meta
data files:

=============================================
[ INFO: possible recursive locking detected ]
2.6.29 #26
---------------------------------------------
mount.nilfs2/4185 is trying to acquire lock:
 (&mi->mi_sem){----}, at: [<d0c7925b>] nilfs_sufile_get_stat+0x1e/0x105 [nilfs2]
 but task is already holding lock:
  (&mi->mi_sem){----}, at: [<d0c72026>] nilfs_count_free_blocks+0x48/0x84 [nilfs2]

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/the_nilfs.c