Use gbincore_unlocked for unprotected incore()

Reviewed by:	markj
Sponsored by:	Isilon
Differential Revision:	https://reviews.freebsd.org/D25790
This commit is contained in:
Conrad Meyer 2020-07-24 17:34:44 +00:00
parent 68ee1dda06
commit 81dc6c2c61
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363483

View File

@ -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));
}
/*