HomeFreeBSD

autofs: rename sx lock description for am_lock

Description

autofs: rename sx lock description for am_lock

Rename am_lock description from autofslk -> autfsm.

The lock description, autofslk, is used as the description for
autofs_softc->sc_lock, which is used to protect autofs requests and the
like as opposed to am_lock which protects autofs nodes for a given
mount.

This change allows witness to distinguish different lock orders for each
lock.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D57972

Details

Provenance
rewAuthored on Jul 1 2026, 9:18 AM
Reviewer
kib
Differential Revision
D57972: autofs: rename sx lock description for am_lock
Parents
rG2fc95fe26e72: linuxulator: Add linux_extattr_get_vp() for atomic getxattr
Branches
Unknown
Tags
Unknown