Date: Sat, 14 Mar 2009 19:35:13 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r189823 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern Message-ID: <200903141935.n2EJZDYT006077@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Sat Mar 14 19:35:13 2009 New Revision: 189823 URL: http://svn.freebsd.org/changeset/base/189823 Log: MFC r179093 (by pjd): Be more friendly for DDB pager. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath_hal/ (props changed) stable/7/sys/dev/cxgb/ (props changed) stable/7/sys/kern/vfs_subr.c Modified: stable/7/sys/kern/vfs_subr.c ============================================================================== --- stable/7/sys/kern/vfs_subr.c Sat Mar 14 19:17:00 2009 (r189822) +++ stable/7/sys/kern/vfs_subr.c Sat Mar 14 19:35:13 2009 (r189823) @@ -2731,6 +2731,8 @@ DB_SHOW_COMMAND(mount, db_show_mount) mp->mnt_stat.f_mntfromname, mp->mnt_stat.f_mntonname, mp->mnt_stat.f_fstypename); + if (db_pager_quit) + break; } db_printf("\nMore info: show mount <addr>\n"); return; @@ -2860,8 +2862,11 @@ DB_SHOW_COMMAND(mount, db_show_mount) db_printf("\n"); TAILQ_FOREACH(vp, &mp->mnt_nvnodelist, v_nmntvnodes) { - if (vp->v_type != VMARKER) + if (vp->v_type != VMARKER) { vn_printf(vp, "vnode "); + if (db_pager_quit) + break; + } } } #endif /* DDB */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903141935.n2EJZDYT006077>