From owner-svn-src-all@FreeBSD.ORG Sat Apr 3 11:19:21 2010 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 2AC2F1065672; Sat, 3 Apr 2010 11:19:21 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 19A358FC12; Sat, 3 Apr 2010 11:19:21 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o33BJKJQ071195; Sat, 3 Apr 2010 11:19:20 GMT (envelope-from pjd@svn.freebsd.org) Received: (from pjd@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o33BJKCU071193; Sat, 3 Apr 2010 11:19:20 GMT (envelope-from pjd@svn.freebsd.org) Message-Id: <201004031119.o33BJKCU071193@svn.freebsd.org> From: Pawel Jakub Dawidek Date: Sat, 3 Apr 2010 11:19:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r206135 - head/sys/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, 03 Apr 2010 11:19:21 -0000 Author: pjd Date: Sat Apr 3 11:19:20 2010 New Revision: 206135 URL: http://svn.freebsd.org/changeset/base/206135 Log: Fix some whitespace nits. Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c ============================================================================== --- head/sys/kern/vfs_subr.c Sat Apr 3 11:15:55 2010 (r206134) +++ head/sys/kern/vfs_subr.c Sat Apr 3 11:19:20 2010 (r206135) @@ -1378,7 +1378,7 @@ restartsync: /* * buf_splay() - splay tree core for the clean/dirty list of buffers in - * a vnode. + * a vnode. * * NOTE: We have to deal with the special case of a background bitmap * buffer, a situation where two buffers will have the same logical @@ -2100,13 +2100,13 @@ vget(struct vnode *vp, int flags, struct /* Upgrade our holdcnt to a usecount. */ v_upgrade_usecount(vp); /* - * We don't guarantee that any particular close will + * We don't guarantee that any particular close will * trigger inactive processing so just make a best effort * here at preventing a reference to a removed file. If * we don't succeed no harm is done. */ if (vp->v_iflag & VI_OWEINACT) { - if (VOP_ISLOCKED(vp) == LK_EXCLUSIVE && + if (VOP_ISLOCKED(vp) == LK_EXCLUSIVE && (flags & LK_NOWAIT) == 0) vinactive(vp, td); vp->v_iflag &= ~VI_OWEINACT; @@ -2362,7 +2362,7 @@ SYSCTL_INT(_debug, OID_AUTO, busyprt, CT #endif int -vflush( struct mount *mp, int rootrefs, int flags, struct thread *td) +vflush(struct mount *mp, int rootrefs, int flags, struct thread *td) { struct vnode *vp, *mvp, *rootvp = NULL; struct vattr vattr; @@ -2383,12 +2383,10 @@ vflush( struct mount *mp, int rootrefs, return (error); } vput(rootvp); - } MNT_ILOCK(mp); loop: MNT_VNODE_FOREACH(vp, mp, mvp) { - VI_LOCK(vp); vholdl(vp); MNT_IUNLOCK(mp); @@ -3530,7 +3528,7 @@ vaccess(enum vtype type, mode_t file_mod KASSERT((accmode & ~(VEXEC | VWRITE | VREAD | VADMIN | VAPPEND)) == 0, ("invalid bit in accmode")); KASSERT((accmode & VAPPEND) == 0 || (accmode & VWRITE), - ("VAPPEND without VWRITE")); + ("VAPPEND without VWRITE")); /* * Look for a normal, non-privileged way to access the file/directory