Page MenuHomeFreeBSD

D40612.diff
No OneTemporary

D40612.diff

diff --git a/sys/fs/tarfs/tarfs_io.c b/sys/fs/tarfs/tarfs_io.c
--- a/sys/fs/tarfs/tarfs_io.c
+++ b/sys/fs/tarfs/tarfs_io.c
@@ -125,8 +125,7 @@
rl = vn_rangelock_rlock(tmp->vp, off, off + len);
error = vn_lock(tmp->vp, LK_SHARED);
if (error == 0) {
- error = VOP_READ(tmp->vp, uiop,
- IO_DIRECT|IO_NODELOCKED,
+ error = VOP_READ(tmp->vp, uiop, IO_NODELOCKED,
uiop->uio_td->td_ucred);
VOP_UNLOCK(tmp->vp);
}
@@ -426,8 +425,7 @@
auio.uio_rw = UIO_READ;
auio.uio_resid = aiov.iov_len;
auio.uio_td = td;
- error = VOP_READ(tmp->vp, &auio,
- IO_DIRECT | IO_NODELOCKED,
+ error = VOP_READ(tmp->vp, &auio, IO_NODELOCKED,
td->td_ucred);
if (error != 0)
goto fail;

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 3:48 AM (20 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14652704
Default Alt Text
D40612.diff (729 B)

Event Timeline