Page MenuHomeFreeBSD

D18058.id51078.diff
No OneTemporary

D18058.id51078.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, Sep 12, 4:35 AM (16 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38691296
Default Alt Text
D18058.id51078.diff (444 B)

Event Timeline