git: 250c3c549e2c - stable/14 - boottrace: Don't say we've unmounted if we haven't.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Feb 2025 00:38:33 UTC
The branch stable/14 has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=250c3c549e2ce1dad83570deb22e81d966ad902f
commit 250c3c549e2ce1dad83570deb22e81d966ad902f
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2025-01-20 16:44:12 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2025-02-13 00:37:34 +0000
boottrace: Don't say we've unmounted if we haven't.
MFC after: 1 week
Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.
Reviewed by: imp, markj
Differential Revision: https://reviews.freebsd.org/D48515
(cherry picked from commit 4f4b2b7a4b6c5642320479a765f850c394766276)
---
sys/kern/vfs_bio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index c7c890dd83bd..4ae80e7e078d 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1512,8 +1512,8 @@ bufshutdown(int show_busybufs)
if (!KERNEL_PANICKED()) {
swapoff_all();
vfs_unmountall();
+ BOOTTRACE("shutdown unmounted all filesystems");
}
- BOOTTRACE("shutdown unmounted all filesystems");
}
DELAY(100000); /* wait for console output to finish */
}