Date: Thu, 2 Nov 2006 00:02:22 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/common devopen.c Message-ID: <200611020002.kA202Mql080949@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2006-11-02 00:02:22 UTC FreeBSD src repository Modified files: sys/boot/common devopen.c Log: o Make sure to clear f->f_devdata if d_dev->dv_open() fails. It would otherwise cause devclose() to free() the memory again. o Refactor devopen() so that it's more readable. Revision Changes Path 1.5 +17 -12 src/sys/boot/common/devopen.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611020002.kA202Mql080949>