NetBSD-Bugs archive

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

Re: kern/39609: wapbl "replaying log to disk" message is potentially misleading



The following reply was made to PR kern/39609; it has been noted by GNATS.

From: Paul Goyette <paul%whooppee.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/39609: wapbl "replaying log to disk" message is potentially
 misleading
Date: Tue, 3 Jan 2012 07:14:27 -0800 (PST)

 Seems to me that the following simple patch would take care of this pronlem:
 
 Index: ffs_vfsops.c
 ===================================================================
 RCS file: /cvsroot/src/sys/ufs/ffs/ffs_vfsops.c,v
 retrieving revision 1.271
 diff -u -p -r1.271 ffs_vfsops.c
 --- ffs_vfsops.c        14 Nov 2011 18:35:14 -0000      1.271
 +++ ffs_vfsops.c        3 Jan 2012 14:26:27 -0000
 @@ -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);
 
 Any objection to committing this?
 
 
 -------------------------------------------------------------------------
 | Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
 | Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
 | Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
 | Kernel Developer |                          | pgoyette at netbsd.org  |
 -------------------------------------------------------------------------
 


Home | Main Index | Thread Index | Old Index