summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-04-30 13:49:03 +0000
committerkib <kib@FreeBSD.org>2011-04-30 13:49:03 +0000
commit4cc947d01c8e16a36c75eeeabf57af6a929b5fc2 (patch)
treeb4b3408439f5dca143ca99caa1619b3468e15e05 /sys/ufs
parent85fb9d937d78402542f86593c8643f22fa3e681f (diff)
downloadFreeBSD-src-4cc947d01c8e16a36c75eeeabf57af6a929b5fc2.zip
FreeBSD-src-4cc947d01c8e16a36c75eeeabf57af6a929b5fc2.tar.gz
Clarify the comment.
MFC after: 1 week
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_vnops.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_vnops.c b/sys/ufs/ffs/ffs_vnops.c
index 15c3f9f..8b036cb 100644
--- a/sys/ufs/ffs/ffs_vnops.c
+++ b/sys/ufs/ffs/ffs_vnops.c
@@ -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 *uio, int ioflag)
/*
* 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);
OpenPOWER on IntegriCloud