HomeFreeBSD

- Don't make vgonel() globally visible, we want to change its prototype
rS147332Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

  • Don't make vgonel() globally visible, we want to change its prototype anyway and it's not used outside of vfs_subr.c.
  • Change vgonel() to accept a parameter which determines whether or not we'll put the vnode on the free list when we're done.
  • Use the new vgonel() parameter rather than VI_DOOMED to signal our intentions in vtryrecycle().
  • In vgonel() return if VI_DOOMED is already set, this vnode has already been reclaimed.

Sponsored by: Isilon Systems, Inc.

Details

Provenance
jeffAuthored on
Parents
rS147331: - Clear v_dd in cache_zap() instead of cache_purge() as cache_purge() may
Branches
Unknown
Tags
Unknown

Event Timeline