Use gbincore_unlocked for unprotected incore()
Reviewed by: markj Sponsored by: Isilon Differential Revision: https://reviews.freebsd.org/D25790
This commit is contained in:
parent
68ee1dda06
commit
81dc6c2c61
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363483
@ -3576,12 +3576,7 @@ flushbufqueues(struct vnode *lvp, struct bufdomain *bd, int target,
|
||||
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));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user