delInodes.add(inode); 
should be called before the if