bcache: register_bcache(): call blkdev_put() when cache_alloc() fails
[linux-2.6-block.git] / mm / sparse-vmemmap.c
index 68885dcbaf40f251f1d48d6b4291256a330825df..574c67b663fe8a6ef802b36cb0379d21c96cb77c 100644 (file)
@@ -36,7 +36,7 @@
  * Uses the main allocators if they are available, else bootmem.
  */
 
-static void * __init_refok __earlyonly_bootmem_alloc(int node,
+static void * __ref __earlyonly_bootmem_alloc(int node,
                                unsigned long size,
                                unsigned long align,
                                unsigned long goal)