added another lock to dir_lookup