Clarify the comment.

MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2011-04-30 13:49:03 +00:00
parent 2daeab4356
commit 4417ac326a
2 changed files with 6 additions and 3 deletions

View File

@ -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);

View File

@ -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);