[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20060914213733.GJ3928@agk.surrey.redhat.com>
Date: Thu, 14 Sep 2006 22:37:33 +0100
From: Alasdair G Kergon <agk@...hat.com>
To: Andrew Morton <akpm@...l.org>
Cc: linux-kernel@...r.kernel.org, Milan Broz <mbroz@...hat.com>
Subject: [PATCH 02/25] dm snapshot: fix invalidation ENOMEM
From: Milan Broz <mbroz@...hat.com>
Fix ENOMEM error sign.
Signed-off-by: Milan Broz <mbroz@...hat.com>
Signed-off-By: Alasdair G Kergon <agk@...hat.com>
Index: linux-2.6.18-rc7/drivers/md/dm-snap.c
===================================================================
--- linux-2.6.18-rc7.orig/drivers/md/dm-snap.c 2006-09-14 20:25:35.000000000 +0100
+++ linux-2.6.18-rc7/drivers/md/dm-snap.c 2006-09-14 20:26:20.000000000 +0100
@@ -1034,7 +1034,7 @@ static int __origin_write(struct list_he
pe = __find_pending_exception(snap, bio);
if (!pe) {
- __invalidate_snapshot(snap, pe, ENOMEM);
+ __invalidate_snapshot(snap, pe, -ENOMEM);
goto next_snapshot;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists