git: 4f4b2b7a4b6c - main - boottrace: Don't say we've unmounted if we haven't.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Jan 2025 16:44:42 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=4f4b2b7a4b6c5642320479a765f850c394766276
commit 4f4b2b7a4b6c5642320479a765f850c394766276
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-01-20 16:44:25 +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
---
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 d6392c025a94..08ba752bcf29 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1518,8 +1518,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 */
}