btrfs: try harder to allocate raid56 stripe cache
[linux-2.6-block.git] / fs / btrfs / disk-io.c
index 5031e6dd5938a967166c1c30e398902c88cd2134..02369a3c162e0e891a09c3f893f277c5ec907635 100644 (file)
@@ -2197,7 +2197,7 @@ int open_ctree(struct super_block *sb,
 
        ret = btrfs_alloc_stripe_hash_table(fs_info);
        if (ret) {
-               err = -ENOMEM;
+               err = ret;
                goto fail_alloc;
        }