Page MenuHomeFreeBSD

D25790.id74888.diff
No OneTemporary

D25790.id74888.diff

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

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)

Event Timeline