Re: [PATCH 1/5] Swap Migration V5: LRU operations

From: Christoph Lameter
Date: Mon Nov 07 2005 - 12:45:21 EST


On Mon, 7 Nov 2005, Magnus Damm wrote:

> It looks like the V4 to V5 upgrade added -ENOENT as return value to
> __isolate_lru_page(), but did not change the code in
> isolate_lru_pages().

Yuck. You are right.

> The fix for this is simple, but maybe something else needs to be
> changed too or I'm misunderstanding what is happening here.

No the fix should simply be replacing the -1 by -ENOENT.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/