Files
Olga Kornievskaia 4316543064 lockd: Make linux/lockd/nlm.h an internal header
JIRA: https://issues.redhat.com/browse/RHEL-171581

commit 5829352e568d24dd04ae112128a4f44748d073bc
Author: Chuck Lever <chuck.lever@oracle.com>
Date:   Wed Jan 28 10:19:33 2026 -0500

    lockd: Make linux/lockd/nlm.h an internal header

    The NLM protocol constants and status codes in nlm.h are needed
    only by lockd's internal implementation. NFS client code and
    NFSD interact with lockd through the stable API in bind.h and
    have no direct use for protocol-level definitions.

    Exposing these definitions globally via bind.h creates unnecessary
    coupling between lockd internals and its consumers. Moving nlm.h
    from include/linux/lockd/ to fs/lockd/ clarifies the API boundary:
    bind.h provides the lockd service interface, while nlm.h remains
    available only to code within fs/lockd/ that implements the
    protocol.

    Reviewed-by: Jeff Layton <jlayton@kernel.org>
    Signed-off-by: Chuck Lever <chuck.lever@oracle.com>

Signed-off-by: Olga Kornievskaia <okorniev@redhat.com>
2026-06-15 12:55:56 -04:00
..