Date: Wed, 6 Aug 2008 10:20:05 GMT From: "Mateusz Guzik" <mjguzik@gmail.com> To: freebsd-fs@FreeBSD.org Subject: Re: kern/126287: [ufs] [panic] Kernel panics while mounting an UFS filesystem with snapshot enabled Message-ID: <200808061020.m76AK5NI013323@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/126287; it has been noted by GNATS.
From: "Mateusz Guzik" <mjguzik@gmail.com>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808061020.m76AK5NI013323>
