Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131641146
D12106.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
408 B
Referenced Files
None
Subscribers
None
D12106.diff
View Options
Index: head/sys/kern/subr_blist.c
===================================================================
--- head/sys/kern/subr_blist.c
+++ head/sys/kern/subr_blist.c
@@ -251,6 +251,8 @@
bl->bl_radix);
if (blk != SWAPBLK_NONE) {
bl->bl_cursor = blk + count;
+ if (bl->bl_cursor == bl->bl_blocks)
+ bl->bl_cursor = 0;
return (blk);
} else if (bl->bl_cursor != 0)
bl->bl_cursor = 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 10, 11:34 PM (6 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23552921
Default Alt Text
D12106.diff (408 B)
Attached To
Mode
D12106: Allocation of last block requires blist cursor reset
Attached
Detach File
Event Timeline
Log In to Comment