| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* -*- mode: c; c-basic-offset: 8; -*- |
|---|
| 2 | 3 | * vim: noexpandtab sw=8 ts=8 sts=0: |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 6 | 7 | * Checksum and ECC codes for the OCFS2 userspace library. |
|---|
| 7 | 8 | * |
|---|
| 8 | 9 | * Copyright (C) 2004, 2008 Oracle. All rights reserved. |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or |
|---|
| 11 | | - * modify it under the terms of the GNU General Public |
|---|
| 12 | | - * License, version 2, as published by the Free Software Foundation. |
|---|
| 13 | | - * |
|---|
| 14 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 15 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 16 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 17 | | - * General Public License for more details. |
|---|
| 18 | 10 | */ |
|---|
| 19 | 11 | |
|---|
| 20 | 12 | #ifndef OCFS2_BLOCKCHECK_H |
|---|
| .. | .. |
|---|
| 33 | 25 | * ocfs2_blockcheck_stats_debugfs_install() |
|---|
| 34 | 26 | */ |
|---|
| 35 | 27 | struct dentry *b_debug_dir; /* Parent of the debugfs files */ |
|---|
| 36 | | - struct dentry *b_debug_check; /* Exposes b_check_count */ |
|---|
| 37 | | - struct dentry *b_debug_failure; /* Exposes b_failure_count */ |
|---|
| 38 | | - struct dentry *b_debug_recover; /* Exposes b_recover_count */ |
|---|
| 39 | 28 | }; |
|---|
| 40 | 29 | |
|---|
| 41 | 30 | |
|---|
| .. | .. |
|---|
| 64 | 53 | struct ocfs2_blockcheck_stats *stats); |
|---|
| 65 | 54 | |
|---|
| 66 | 55 | /* Debug Initialization */ |
|---|
| 67 | | -int ocfs2_blockcheck_stats_debugfs_install(struct ocfs2_blockcheck_stats *stats, |
|---|
| 68 | | - struct dentry *parent); |
|---|
| 56 | +void ocfs2_blockcheck_stats_debugfs_install(struct ocfs2_blockcheck_stats *stats, |
|---|
| 57 | + struct dentry *parent); |
|---|
| 69 | 58 | void ocfs2_blockcheck_stats_debugfs_remove(struct ocfs2_blockcheck_stats *stats); |
|---|
| 70 | 59 | |
|---|
| 71 | 60 | /* |
|---|