Message ID | Pine.LNX.4.64.0902160213010.32560@hs20-bc2-1.build.redhat.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Index: linux-2.6.28-snap-debug/drivers/md/dm-snap.c =================================================================== --- linux-2.6.28-snap-debug.orig/drivers/md/dm-snap.c 2009-02-16 08:09:22.000000000 +0100 +++ linux-2.6.28-snap-debug/drivers/md/dm-snap.c 2009-02-16 08:09:47.000000000 +0100 @@ -874,6 +874,7 @@ static struct bio *put_pending_exception pe->snap->store.check_pending_exception(&pe->snap->store, pe, __LINE__); primary_pe = pe->primary_pe; + pe->primary_pe = NULL; if (primary_pe) { if (atomic_read(&primary_pe->ref_count) <= 0 || primary_pe->magic != 0x12345678) {