Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/ffs Display current mount point, rather than previou...



details:   https://anonhg.NetBSD.org/src/rev/31a6452a2978
branches:  trunk
changeset: 772424:31a6452a2978
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Jan 03 15:44:00 2012 +0000

description:
Display current mount point, rather than previous one, when printing
the "replaying log to disk" message.

OK dholland@

Fixes PR kern/39609

diffstat:

 sys/ufs/ffs/ffs_vfsops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9dff19a5f240 -r 31a6452a2978 sys/ufs/ffs/ffs_vfsops.c
--- a/sys/ufs/ffs/ffs_vfsops.c  Tue Jan 03 12:16:16 2012 +0000
+++ b/sys/ufs/ffs/ffs_vfsops.c  Tue Jan 03 15:44:00 2012 +0000
@@ -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 @@
 #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);



Home | Main Index | Thread Index | Old Index