fixed d_lock, still using the old spinlock_t so should not be called d_lock as that one is now a  struct who include lock and count. Should not be called lockref because it's the name of the new API we are -not- using