nilfs2: fix leak of shadow dat inode in error path of load_nilfs
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sat, 28 Aug 2010 16:55:38 +0000 (01:55 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Mon, 30 Aug 2010 01:18:03 +0000 (10:18 +0900)
If load_nilfs() gets an error while doing recovery, it will fail to
free the shadow inode of dat (nilfs->ns_gc_dat).

This fixes the leak issue.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>

No differences found