HomeFreeBSD

MFC r354668 by imp: Fix a race between daopen and damediapoll