Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149558269
D12730.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
626 B
Referenced Files
None
Subscribers
None
D12730.diff
View Options
Index: head/sys/kern/vfs_subr.c
===================================================================
--- head/sys/kern/vfs_subr.c
+++ head/sys/kern/vfs_subr.c
@@ -1746,8 +1746,6 @@
((flags & V_ALT) && (bp->b_xflags & BX_ALTDATA) == 0)) {
continue;
}
- lblkno = 0;
- xflags = 0;
if (nbp != NULL) {
lblkno = nbp->b_lblkno;
xflags = nbp->b_xflags & (BX_VNDIRTY | BX_VNCLEAN);
@@ -1782,6 +1780,8 @@
bp->b_flags &= ~B_ASYNC;
brelse(bp);
BO_LOCK(bo);
+ if (nbp == NULL)
+ break;
nbp = gbincore(bo, lblkno);
if (nbp == NULL || (nbp->b_xflags & (BX_VNDIRTY | BX_VNCLEAN))
!= xflags)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 26, 6:17 AM (3 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30367654
Default Alt Text
D12730.diff (626 B)
Attached To
Mode
D12730: Avoid the nbp lookup in the final loop iteration in flushbuflist()
Attached
Detach File
Event Timeline
Log In to Comment