From owner-svn-src-all@FreeBSD.ORG Sat Apr 30 13:49:03 2011 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 9D880106566B; Sat, 30 Apr 2011 13:49:03 +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 899FA8FC0A; Sat, 30 Apr 2011 13:49:03 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p3UDn3uE048139; Sat, 30 Apr 2011 13:49:03 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p3UDn3w5048136; Sat, 30 Apr 2011 13:49:03 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201104301349.p3UDn3w5048136@svn.freebsd.org> From: Konstantin Belousov Date: Sat, 30 Apr 2011 13:49:03 +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: r221261 - in head/sys: fs/ext2fs ufs/ffs 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, 30 Apr 2011 13:49:03 -0000 Author: kib Date: Sat Apr 30 13:49:03 2011 New Revision: 221261 URL: http://svn.freebsd.org/changeset/base/221261 Log: Clarify the comment. MFC after: 1 week Modified: head/sys/fs/ext2fs/ext2_readwrite.c head/sys/ufs/ffs/ffs_vnops.c Modified: head/sys/fs/ext2fs/ext2_readwrite.c ============================================================================== --- head/sys/fs/ext2fs/ext2_readwrite.c Sat Apr 30 12:39:47 2011 (r221260) +++ head/sys/fs/ext2fs/ext2_readwrite.c Sat Apr 30 13:49:03 2011 (r221261) @@ -166,7 +166,8 @@ READ(ap) /* * If it's VMIO or direct I/O, then we don't * need the buf, mark it available for - * freeing. If it's VMIO, the VM has the data. + * freeing. If it's non-direct VMIO, the VM has + * the data. */ bp->b_flags |= B_RELBUF; brelse(bp); Modified: head/sys/ufs/ffs/ffs_vnops.c ============================================================================== --- head/sys/ufs/ffs/ffs_vnops.c Sat Apr 30 12:39:47 2011 (r221260) +++ head/sys/ufs/ffs/ffs_vnops.c Sat Apr 30 13:49:03 2011 (r221261) @@ -591,7 +591,8 @@ ffs_read(ap) /* * If there are no dependencies, and it's VMIO, * then we don't need the buf, mark it available - * for freeing. The VM has the data. + * for freeing. For non-direct VMIO reads, he VM + * has the data. */ bp->b_flags |= B_RELBUF; brelse(bp); @@ -985,7 +986,8 @@ ffs_extread(struct vnode *vp, struct uio /* * If there are no dependencies, and it's VMIO, * then we don't need the buf, mark it available - * for freeing. The VM has the data. + * for freeing. For non-direct VMIO reads, The VM + * has the data. */ bp->b_flags |= B_RELBUF; brelse(bp);