Fixed reference counting for dentries.