git: 8276c6ea9cf7 - main - softdep_mount: on journal start failure, report the mount point path
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Sep 2024 15:00:35 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=8276c6ea9cf7cc3c7a0bd5a50fd1db298656f514
commit 8276c6ea9cf7cc3c7a0bd5a50fd1db298656f514
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-09-15 08:05:42 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-09-15 14:59:02 +0000
softdep_mount: on journal start failure, report the mount point path
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
sys/ufs/ffs/ffs_softdep.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c
index 86c90000e8d2..77d552ad5dff 100644
--- a/sys/ufs/ffs/ffs_softdep.c
+++ b/sys/ufs/ffs/ffs_softdep.c
@@ -2631,7 +2631,8 @@ softdep_mount(struct vnode *devvp,
if ((fs->fs_flags & FS_SUJ) &&
(error = journal_mount(mp, fs, cred)) != 0) {
- printf("Failed to start journal: %d\n", error);
+ printf("%s: failed to start journal: %d\n",
+ mp->mnt_stat.f_mntonname, error);
softdep_unmount(mp);
return (error);
}