HomeFreeBSD

fix a zfs cross-device rename crash introduced in r303763

Description

fix a zfs cross-device rename crash introduced in r303763

The problem was that 'zfsvfs' variable was not initialized if the error
was detected, but in the exit path the variable was dereferenced before
the error code was checked.

Reported by: np
MFC after: 3 days
X-MFC with: r303763

Details

Provenance
avgAuthored on
Parents
rS303868: MFH r303867
Branches
Unknown
Tags
Unknown