HomeFreeBSD

After the vnode unlock, mount point might be destroyed immediately,

Description

After the vnode unlock, mount point might be destroyed immediately,
dropping the reference on mnt_cred. Prevent this by referencing the
temporal credentials before unlock.

Tested by: pho
Reviewed by: dfr
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Approved by: re (gjb)

Details

Provenance
kibAuthored on
Reviewer
dfr
Parents
rS302012: Fix gcc build.
Branches
Unknown
Tags
Unknown