Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164872512
D28008.id81836.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.id81836.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
Wed, Aug 5, 9:47 AM (10 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36031264
Default Alt Text
D28008.id81836.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