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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"