| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /****************************************************************************** |
|---|
| 2 | 3 | ******************************************************************************* |
|---|
| 3 | 4 | ** |
|---|
| 4 | 5 | ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. |
|---|
| 5 | 6 | ** Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. |
|---|
| 6 | 7 | ** |
|---|
| 7 | | -** This copyrighted material is made available to anyone wishing to use, |
|---|
| 8 | | -** modify, copy, or redistribute it subject to the terms and conditions |
|---|
| 9 | | -** of the GNU General Public License v.2. |
|---|
| 10 | 8 | ** |
|---|
| 11 | 9 | ******************************************************************************* |
|---|
| 12 | 10 | ******************************************************************************/ |
|---|
| .. | .. |
|---|
| 37 | 35 | if (error) |
|---|
| 38 | 36 | goto out_lockspace; |
|---|
| 39 | 37 | |
|---|
| 40 | | - error = dlm_register_debugfs(); |
|---|
| 41 | | - if (error) |
|---|
| 42 | | - goto out_config; |
|---|
| 38 | + dlm_register_debugfs(); |
|---|
| 43 | 39 | |
|---|
| 44 | 40 | error = dlm_user_init(); |
|---|
| 45 | 41 | if (error) |
|---|
| .. | .. |
|---|
| 63 | 59 | dlm_user_exit(); |
|---|
| 64 | 60 | out_debug: |
|---|
| 65 | 61 | dlm_unregister_debugfs(); |
|---|
| 66 | | - out_config: |
|---|
| 67 | 62 | dlm_config_exit(); |
|---|
| 68 | 63 | out_lockspace: |
|---|
| 69 | 64 | dlm_lockspace_exit(); |
|---|