Move KASSERT a bit further down because it can apparently be triggered by trying to hardlink a directory.  While this is not allowed on tmpfs, this allows us to reach the code that checks for this such that we can return the appropriate error.
Move KASSERT a bit further down because it can apparently be triggered by
trying to hardlink a directory.  While this is not allowed on tmpfs, this
allows us to reach the code that checks for this such that we can return
the appropriate error.

Cluestick from Pedro Martelletto.
ok espie@

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