Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137100433
D18058.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
444 B
Referenced Files
None
Subscribers
None
D18058.diff
View Options
Index: head/sys/kern/subr_blist.c
===================================================================
--- head/sys/kern/subr_blist.c
+++ head/sys/kern/subr_blist.c
@@ -764,6 +764,8 @@
/* Discard any candidates that appear before cursor. */
digit = (cursor / radix) & BLIST_META_MASK;
mask &= (u_daddr_t)-1 << digit;
+ if (mask == 0)
+ return (SWAPBLK_NONE);
/*
* If the first try is for a block that includes the cursor, pre-undo
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 22, 3:40 AM (9 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25895175
Default Alt Text
D18058.diff (444 B)
Attached To
Mode
D18058: Handle the possiblity that the cursor has already passed the free blocks of a meta-node.
Attached
Detach File
Event Timeline
Log In to Comment