Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2008 09:30: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:  <200808060930.m769U5Yf008912@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 11:24:16 +0200

 ------=_Part_20104_30199813.1218014656704
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 Hi,
 
 function vfs_deleteopt() was called with NULL pointer (opts) used in
 TAILQ_FOREACH_SAFE macro -- I believe that simple `if (opts == NULL)
 return; ' in that function is ok to fix this. (Take a look at
 attachment.)
 
 At least the kernel does not panic. ;)
 
 Thanks,
 --
 Mateusz Guzik
 
 ------=_Part_20104_30199813.1218014656704
 Content-Type: application/octet-stream; name=vfs_mount.diff
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_fjjqf5in0
 Content-Disposition: attachment; filename=vfs_mount.diff
 
 LS0tIHN5cy9rZXJuL3Zmc19tb3VudC5jLm9yaWcJMjAwOC0wOC0wNiAxMToxNDoxNi4wMDAwMDAw
 MDAgKzAyMDAKKysrIHN5cy9rZXJuL3Zmc19tb3VudC5jCTIwMDgtMDgtMDYgMTE6MTQ6MzIuMDAw
 MDAwMDAwICswMjAwCkBAIC0xOTYsMTAgKzE5NiwxMyBAQAogdm9pZAogdmZzX2RlbGV0ZW9wdChz
 dHJ1Y3QgdmZzb3B0bGlzdCAqb3B0cywgY29uc3QgY2hhciAqbmFtZSkKIHsKIAlzdHJ1Y3QgdmZz
 b3B0ICpvcHQsICp0ZW1wOwogCisJaWYgKG9wdHMgPT0gTlVMTCkKKwkJcmV0dXJuOworCiAJVEFJ
 TFFfRk9SRUFDSF9TQUZFKG9wdCwgb3B0cywgbGluaywgdGVtcCkgIHsKIAkJaWYgKHN0cmNtcChv
 cHQtPm5hbWUsIG5hbWUpID09IDApCiAJCQl2ZnNfZnJlZW9wdChvcHRzLCBvcHQpOwogCX0KIH0K
 
 ------=_Part_20104_30199813.1218014656704--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808060930.m769U5Yf008912>