NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/39400: tacking FFS snapshot triggers "lock error" panic
The following reply was made to PR kern/39400; it has been noted by GNATS.
From: Juergen Hannken-Illjes <hannken%eis.cs.tu-bs.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: bouyer%antioche.eu.org@localhost
Subject: Re: kern/39400: tacking FFS snapshot triggers "lock error" panic
Date: Sun, 24 Aug 2008 17:12:44 +0200
On Sun, Aug 24, 2008 at 02:25:00PM +0000, Manuel Bouyer wrote:
> >Number: 39400
> >Category: kern
> >Synopsis: tacking FFS snapshot triggers "lock error" panic
The attached diff should fix your problem, please confirm.
--
Juergen Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig
(Germany)
Index: ffs_snapshot.c
===================================================================
RCS file: /cvsroot/src/sys/ufs/ffs/ffs_snapshot.c,v
retrieving revision 1.76
diff -p -u -2 -r1.76 ffs_snapshot.c
--- ffs_snapshot.c 24 Aug 2008 09:51:47 -0000 1.76
+++ ffs_snapshot.c 24 Aug 2008 15:09:39 -0000
@@ -752,4 +752,6 @@ out:
fs->fs_active = 0;
}
+ if (logvp)
+ vput(logvp);
mp->mnt_flag = flag;
if (error) {
Home |
Main Index |
Thread Index |
Old Index