git: 5c075d640497 - main - ufs/acl.h: forward-declare struct inode

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sat, 09 Apr 2022 21:48:17 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=5c075d6404972fb337c55e959b25b46bae087ada

commit 5c075d6404972fb337c55e959b25b46bae087ada
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-04-01 20:31:47 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-04-09 21:43:53 +0000

    ufs/acl.h: forward-declare struct inode
    
    Right now it is incidentally declared in sys/lockf.h, which will be
    corrected shortly.
    
    Reviewed by:    markj, rmacklem
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D34756
---
 sys/ufs/ufs/acl.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/ufs/ufs/acl.h b/sys/ufs/ufs/acl.h
index 07075db91745..12da6d480416 100644
--- a/sys/ufs/ufs/acl.h
+++ b/sys/ufs/ufs/acl.h
@@ -39,6 +39,8 @@
 
 #ifdef _KERNEL
 
+struct inode;
+
 int	ufs_getacl_nfs4_internal(struct vnode *vp, struct acl *aclp,
 	    struct thread *td);
 int	ufs_setacl_nfs4_internal(struct vnode *vp, struct acl *aclp,