Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151860531
D25790.id74888.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
384 B
Referenced Files
None
Subscribers
None
D25790.id74888.diff
View Options
Index: head/sys/kern/vfs_bio.c
===================================================================
--- head/sys/kern/vfs_bio.c
+++ head/sys/kern/vfs_bio.c
@@ -3576,12 +3576,7 @@
struct buf *
incore(struct bufobj *bo, daddr_t blkno)
{
- struct buf *bp;
-
- BO_RLOCK(bo);
- bp = gbincore(bo, blkno);
- BO_RUNLOCK(bo);
- return (bp);
+ return (gbincore_unlocked(bo, blkno));
}
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 12, 4:17 AM (14 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31308344
Default Alt Text
D25790.id74888.diff (384 B)
Attached To
Mode
D25790: Use gbincore_unlocked for unprotected incore()
Attached
Detach File
Event Timeline
Log In to Comment