Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162727279
D18058.id50652.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
429 B
Referenced Files
None
Subscribers
None
D18058.id50652.diff
View Options
Index: sys/kern/subr_blist.c
===================================================================
--- sys/kern/subr_blist.c
+++ 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
Fri, Jul 17, 5:06 AM (17 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35160126
Default Alt Text
D18058.id50652.diff (429 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