When moving a directory to under a new parent, write the correct cluster number into our . pointer.  This fixes filesystem corruption seen under these circumstances.
When moving a directory to under a new parent, write the correct
cluster number into our . pointer.  This fixes filesystem corruption
seen under these circumstances.

Testing nick@, krw@, ian@ and others - thanks.

"i agree" pedro@; "get it in" deraadt@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars