HomeFreeBSD

lockf: remove lf_inode from struct lockf_entry

Description

lockf: remove lf_inode from struct lockf_entry

The UFS-specific struct inode cannot be used in generic advisory lock
code. It was probably used as a shortcut for the debugging, as the
remnants of the code around it indicates.

Use somewhat more verbose and less concentrated, but universal,
VOP_PRINT(), where needed.

Reviewed by: markj, rmacklem
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D34756

Details

Provenance
kibAuthored on Apr 1 2022, 8:34 PM
Reviewer
markj
Differential Revision
D34756: Add KERN_LOCKF
Parents
rG5c075d640497: ufs/acl.h: forward-declare struct inode
Branches
Unknown
Tags
Unknown