git: d0b59c4d3a09 - main - kern_mkdirat(): unconditionally provide the out label
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Apr 2025 21:54:40 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=d0b59c4d3a091a7a3cf589dead8dddafe00703f7 commit d0b59c4d3a091a7a3cf589dead8dddafe00703f7 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2025-04-02 21:53:14 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2025-04-02 21:54:23 +0000 kern_mkdirat(): unconditionally provide the out label Needed for the MAC-less kernel configs. Fixes: 2ec2ba7e232dd126df0617194fd07be78c7a2ab9 Sponsored by: The FreeBSD Foundation --- sys/kern/vfs_syscalls.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index 7096c4b34d5b..1a3400a87eeb 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -3930,9 +3930,7 @@ restart: goto out; #endif error = VOP_MKDIR(nd.ni_dvp, &nd.ni_vp, &nd.ni_cnd, &vattr); -#ifdef MAC out: -#endif NDFREE_PNBUF(&nd); VOP_VPUT_PAIR(nd.ni_dvp, error == 0 ? &nd.ni_vp : NULL, true); vn_finished_write(mp);