Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102636430
D40612.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
729 B
Referenced Files
None
Subscribers
None
D40612.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D40612: tarfs: Don't use IO_DIRECT when reading from tarball.
Attached
Detach File
Event Timeline
Log In to Comment