git: 4c0c1c321eac - stable/15 - ufssuspend(4): mark non-passable

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Mon, 12 Oct 2026 02:21:31 UTC
The branch stable/15 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=4c0c1c321eac80dcd46b863e03915f9318d33d22

commit 4c0c1c321eac80dcd46b863e03915f9318d33d22
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-10-04 00:50:57 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-10-12 02:20:49 +0000

    ufssuspend(4): mark non-passable
    
    (cherry picked from commit 499901dd7a0afc77745ede85c4e6ec063d43a84d)
---
 sys/ufs/ffs/ffs_suspend.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/ufs/ffs/ffs_suspend.c b/sys/ufs/ffs/ffs_suspend.c
index c35831c4bb96..9eb6d328e6ca 100644
--- a/sys/ufs/ffs/ffs_suspend.c
+++ b/sys/ufs/ffs/ffs_suspend.c
@@ -60,6 +60,7 @@ static struct cdevsw ffs_susp_cdevsw = {
 	.d_write =	ffs_susp_rdwr,
 	.d_ioctl =	ffs_susp_ioctl,
 	.d_name =	"ffs_susp",
+	.d_flags =	D_NONPASSABLE,
 };
 
 static struct cdev *ffs_susp_dev;