From 3b4519f792eb6c3dbbc078b79647865c15156e19 Mon Sep 17 00:00:00 2001 From: Tao Ma Date: Mon, 11 Jul 2011 18:26:01 -0400 Subject: [PATCH] --- yaml --- r: 262101 b: refs/heads/master c: 823ba01fc07751200c43e45733925a98b73eac3a h: refs/heads/master i: 262099: 97f8c21b4e790550e9ea7a4ff5320a985bcdff8d v: v3 --- [refs] | 2 +- trunk/fs/ext4/mballoc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index e6dfcd9ccb12..7bd15936347a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 598dbdf2433cad55bd44d923f67a053871e3eabf +refs/heads/master: 823ba01fc07751200c43e45733925a98b73eac3a diff --git a/trunk/fs/ext4/mballoc.c b/trunk/fs/ext4/mballoc.c index 04a3d92aafb4..2b9a71b99b2b 100644 --- a/trunk/fs/ext4/mballoc.c +++ b/trunk/fs/ext4/mballoc.c @@ -2404,14 +2404,14 @@ static int ext4_groupinfo_create_slab(size_t size) slab_size, 0, SLAB_RECLAIM_ACCOUNT, NULL); + ext4_groupinfo_caches[cache_index] = cachep; + mutex_unlock(&ext4_grpinfo_slab_create_mutex); if (!cachep) { printk(KERN_EMERG "EXT4: no memory for groupinfo slab cache\n"); return -ENOMEM; } - ext4_groupinfo_caches[cache_index] = cachep; - return 0; }