Fix bug in inode accounting

Signed-off-by: Prakash Surya <surya1@llnl.gov>