git: fe7426b2c9f7 - main - nfs_nfsdport.c: Fix a typo in a KASSERT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Jun 2026 00:57:27 UTC
The branch main has been updated by rmacklem:
URL: https://cgit.FreeBSD.org/src/commit/?id=fe7426b2c9f7c0242aa32e47de5f78967563833c
commit fe7426b2c9f7c0242aa32e47de5f78967563833c
Author: Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2026-06-26 00:55:31 +0000
Commit: Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2026-06-26 00:55:31 +0000
nfs_nfsdport.c: Fix a typo in a KASSERT
Reported by: rlibby
---
sys/fs/nfsserver/nfs_nfsdport.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/fs/nfsserver/nfs_nfsdport.c b/sys/fs/nfsserver/nfs_nfsdport.c
index 5c8c03d9571d..543c43295b20 100644
--- a/sys/fs/nfsserver/nfs_nfsdport.c
+++ b/sys/fs/nfsserver/nfs_nfsdport.c
@@ -2183,7 +2183,7 @@ nfsvno_pnfsreplenish(void *arg)
goto out;
}
MNTEXP_LOCK(nep);
- KASSERT(nep->ne_pnfsnumfile == PNFSD_START |
+ KASSERT(nep->ne_pnfsnumfile == PNFSD_START ||
nep->ne_pnfsnumfile == PNFSD_STOP,
("nfsvno_pnfsreplenish: ne_pnfsnumfile not PNFSD_START/STOP"));
if (nep->ne_pnfsnumfile == PNFSD_START) {