super.c (34069d12e239ae8f36dd96c378e4622fb1c42a76) super.c (8c8d2d9670e813d623d8a2cbc881cb57344f4d37)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * bcache setup/teardown code, and some metadata io - read a superblock and
4 * figure out what to do with it.
5 *
6 * Copyright 2010, 2011 Kent Overstreet <kent.overstreet@gmail.com>
7 * Copyright 2012 Google, Inc.
8 */

--- 2891 unchanged lines hidden (view full) ---

2900 if (!bcache_kobj)
2901 goto err;
2902
2903 if (bch_request_init() ||
2904 sysfs_create_files(bcache_kobj, files))
2905 goto err;
2906
2907 bch_debug_init();
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * bcache setup/teardown code, and some metadata io - read a superblock and
4 * figure out what to do with it.
5 *
6 * Copyright 2010, 2011 Kent Overstreet <kent.overstreet@gmail.com>
7 * Copyright 2012 Google, Inc.
8 */

--- 2891 unchanged lines hidden (view full) ---

2900 if (!bcache_kobj)
2901 goto err;
2902
2903 if (bch_request_init() ||
2904 sysfs_create_files(bcache_kobj, files))
2905 goto err;
2906
2907 bch_debug_init();
2908 closure_debug_init();
2909
2910 bcache_is_reboot = false;
2911
2912 return 0;
2913err:
2914 bcache_exit();
2915 return -ENOMEM;
2916}

--- 16 unchanged lines hidden ---
2908
2909 bcache_is_reboot = false;
2910
2911 return 0;
2912err:
2913 bcache_exit();
2914 return -ENOMEM;
2915}

--- 16 unchanged lines hidden ---