Date: Mon, 17 Jul 2006 21:23:54 +0000 (UTC) From: Olivier Houchard <cognet@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm swap_pager.c Message-ID: <200607172123.k6HLNsYk053239@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cognet 2006-07-17 21:23:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/vm swap_pager.c Log: MFC rev 1.274 and 1.275 date: 2006/01/27 21:11:50; author: cognet; state: Exp; lines: +9 -0 Make sure b_vp and b_bufobj are NULL before calling relpbuf(), as it asserts they are. They should be NULL at this point, except if we're coming from swapdev_strategy(). It should only affect the case where we're swapping directly on a file over NFS. ---------------------------- revision 1.275 date: 2005/09/21 15:01:09; author: cognet; state: Exp; lines: +3 -1 Make sure we have a bufobj before calling bstrategy(). I'm not sure this is the right thing to do, but at least I don't panic anymore when swapping on a NFS file without using md(4). Revision Changes Path 1.273.2.3 +11 -0 src/sys/vm/swap_pager.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607172123.k6HLNsYk053239>