HomeFreeBSD

Revert r184118. There is actually a code in the kernel, for instance in

Description

Revert r184118. There is actually a code in the kernel, for instance in
kern_unlinkat(), that expects that vn_start_write() actually fills the mp
even when the call failed.

As Tor noted, that pattern relies on the the type stability of the mount
points, as well as that suspended mount points are never freed and
V_XSLEEP is always passed to vn_start_write() when called on a freed
mount point.

Reported by: stass
Reviewed by: tegge
PR: 123768

Details

Provenance
kibAuthored on Nov 16 2008, 9:56 PM
Parents
rG6da593a22aa5: Fix argument layout of devfs_get_cdevpriv().
Branches
Unknown
Tags
Unknown

Event Timeline