From owner-freebsd-fs@FreeBSD.ORG Wed Aug 6 10:20:05 2008 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B2B9106566C for ; Wed, 6 Aug 2008 10:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 793F98FC22 for ; Wed, 6 Aug 2008 10:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m76AK5Tv013324 for ; Wed, 6 Aug 2008 10:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m76AK5NI013323; Wed, 6 Aug 2008 10:20:05 GMT (envelope-from gnats) Date: Wed, 6 Aug 2008 10:20:05 GMT Message-Id: <200808061020.m76AK5NI013323@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: "Mateusz Guzik" Cc: Subject: Re: kern/126287: [ufs] [panic] Kernel panics while mounting an UFS filesystem with snapshot enabled X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mateusz Guzik List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2008 10:20:05 -0000 The following reply was made to PR kern/126287; it has been noted by GNATS. From: "Mateusz Guzik" To: bug-followup@freebsd.org Cc: Subject: Re: kern/126287: [ufs] [panic] Kernel panics while mounting an UFS filesystem with snapshot enabled Date: Wed, 6 Aug 2008 12:15:00 +0200 Something weird happened to my attachment, I'll paste it here: --- sys/kern/vfs_mount.c.orig 2008-08-06 11:14:16.000000000 +0200 +++ sys/kern/vfs_mount.c 2008-08-06 11:14:32.000000000 +0200 @@ -196,10 +196,13 @@ void vfs_deleteopt(struct vfsoptlist *opts, const char *name) { struct vfsopt *opt, *temp; + if (opts == NULL) + return; + TAILQ_FOREACH_SAFE(opt, opts, link, temp) { if (strcmp(opt->name, name) == 0) vfs_freeopt(opts, opt); } } Again, it should work fine ;) Thanks, -- Mateusz Guzik