Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110652984
D28008.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
411 B
Referenced Files
None
Subscribers
None
D28008.diff
View Options
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c
--- a/sys/kern/vfs_vnops.c
+++ b/sys/kern/vfs_vnops.c
@@ -584,6 +584,8 @@
if (rw == UIO_READ) {
rl_cookie = vn_rangelock_rlock(vp, offset,
offset + len);
+ } else if ((ioflg & IO_APPEND) != 0) {
+ rl_cookie = vn_rangelock_wlock(vp, 0, OFF_MAX);
} else {
rl_cookie = vn_rangelock_wlock(vp, offset,
offset + len);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 22, 12:00 PM (1 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16771002
Default Alt Text
D28008.diff (411 B)
Attached To
Mode
D28008: vfs: fix rangelock range in vn_rdwr() for IO_APPEND
Attached
Detach File
Event Timeline
Log In to Comment