nilfs2: decrement inodes count only if raw inode was successfully deleted
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Fri, 11 Feb 2011 06:23:27 +0000 (15:23 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Tue, 8 Mar 2011 05:58:04 +0000 (14:58 +0900)
commit25b18d39cca207f8559af1aac00313deda2d652e
tree70815c9799a82b53785d9daf75e598f47b84243c
parenta5abba989deceb731047425812d268daf7536575
nilfs2: decrement inodes count only if raw inode was successfully deleted

This fixes the issue that inodes count will not add up after removal
of raw inodes fails.  Hence, this prevents possible under flow of the
inodes count.

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