Page MenuHomeFreeBSD

D18058.id.diff
No OneTemporary

D18058.id.diff

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

Mime Type
text/plain
Expires
Sat, Nov 22, 3:46 AM (14 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25895175
Default Alt Text
D18058.id.diff (444 B)

Event Timeline