From owner-svn-src-all@FreeBSD.ORG Sat Mar 14 19:35:13 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 664AF106567A; Sat, 14 Mar 2009 19:35:13 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 53AA78FC2A; Sat, 14 Mar 2009 19:35:13 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2EJZDnJ006078; Sat, 14 Mar 2009 19:35:13 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2EJZDYT006077; Sat, 14 Mar 2009 19:35:13 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <200903141935.n2EJZDYT006077@svn.freebsd.org> From: Konstantin Belousov Date: Sat, 14 Mar 2009 19:35:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r189823 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2009 19:35:13 -0000 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 \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 */