From bf1f55bd4a19f5ff0cbb8f3b7369025596cdaee2 Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Fri, 10 May 2013 14:37:15 +0100 Subject: [PATCH] --- yaml --- r: 375249 b: refs/heads/master c: 09e8b813897a0f85bb401435d009228644c81214 h: refs/heads/master i: 375247: eec122fe47272540dbf905258e391480cacc1ed0 v: v3 --- [refs] | 2 +- trunk/drivers/md/dm-snap.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 2579048b9bba..d3361f50bcba 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fa4d683af3693863bec761e2761a07e4c1351f86 +refs/heads/master: 09e8b813897a0f85bb401435d009228644c81214 diff --git a/trunk/drivers/md/dm-snap.c b/trunk/drivers/md/dm-snap.c index c0e07026a8d1..c434e5aab2df 100644 --- a/trunk/drivers/md/dm-snap.c +++ b/trunk/drivers/md/dm-snap.c @@ -1121,6 +1121,7 @@ static int snapshot_ctr(struct dm_target *ti, unsigned int argc, char **argv) s->pending_pool = mempool_create_slab_pool(MIN_IOS, pending_cache); if (!s->pending_pool) { ti->error = "Could not allocate mempool for pending exceptions"; + r = -ENOMEM; goto bad_pending_pool; }