Module Name: src
Committed By: pgoyette
Date: Tue Jan 3 15:44:00 UTC 2012
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
Display current mount point, rather than previous one, when printing
the "replaying log to disk" message.
OK dholland@
Fixes PR kern/39609
To generate a diff of this commit:
cvs rdiff -u -r1.271 -r1.272 src/sys/ufs/ffs/ffs_vfsops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/ufs/ffs/ffs_vfsops.c
diff -u src/sys/ufs/ffs/ffs_vfsops.c:1.271 src/sys/ufs/ffs/ffs_vfsops.c:1.272
--- src/sys/ufs/ffs/ffs_vfsops.c:1.271 Mon Nov 14 18:35:14 2011
+++ src/sys/ufs/ffs/ffs_vfsops.c Tue Jan 3 15:44:00 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs_vfsops.c,v 1.271 2011/11/14 18:35:14 hannken Exp $ */
+/* $NetBSD: ffs_vfsops.c,v 1.272 2012/01/03 15:44:00 pgoyette Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.271 2011/11/14 18:35:14 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.272 2012/01/03 15:44:00 pgoyette Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ffs.h"
@@ -524,7 +524,7 @@ ffs_mount(struct mount *mp, const char *
#ifdef WAPBL
if (fs->fs_flags & FS_DOWAPBL) {
printf("%s: replaying log to disk\n",
- fs->fs_fsmnt);
+ mp->mnt_stat.f_mntonname);
KDASSERT(mp->mnt_wapbl_replay);
error = wapbl_replay_write(mp->mnt_wapbl_replay,
devvp);