HomeFreeBSD

vn_read_from_obj(): fix handling of doomed vnodes.

Description

vn_read_from_obj(): fix handling of doomed vnodes.

There is no reason why vp->v_object cannot be NULL. If it is, it's
fine, handle it by delegating to VOP_READ().

Tested by: pho
Reviewed by: markj, mjg
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D27327

Details

Provenance
kibAuthored on
Reviewer
markj
Differential Revision
D27327: More careful handling of the mount failure.
Parents
rS368075: More careful handling of the mount failure.
Branches
Unknown
Tags
Unknown