diff --git a/[refs] b/[refs] index 9f8b8f00724a..5b6c96439087 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e3f6ac6123be6f4ba14d71af0da0e8d3d39c33ed +refs/heads/master: 92c060a692a0c3482cdfcaf346cb2f7572368895 diff --git a/trunk/drivers/md/dm-snap.c b/trunk/drivers/md/dm-snap.c index 1d0fafda0f76..7c14867b5903 100644 --- a/trunk/drivers/md/dm-snap.c +++ b/trunk/drivers/md/dm-snap.c @@ -1034,7 +1034,7 @@ static int __origin_write(struct list_head *snapshots, struct bio *bio) pe = __find_pending_exception(snap, bio); if (!pe) { - __invalidate_snapshot(snap, pe, ENOMEM); + __invalidate_snapshot(snap, pe, -ENOMEM); goto next_snapshot; }