Page MenuHomeFreeBSD

D18058.diff
No OneTemporary

D18058.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
Fri, Aug 21, 11:55 AM (10 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37030482
Default Alt Text
D18058.diff (444 B)

Event Timeline