hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/ocfs2/blockcheck.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* -*- mode: c; c-basic-offset: 8; -*-
23 * vim: noexpandtab sw=8 ts=8 sts=0:
34 *
....@@ -6,15 +7,6 @@
67 * Checksum and ECC codes for the OCFS2 userspace library.
78 *
89 * 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.
1810 */
1911
2012 #ifndef OCFS2_BLOCKCHECK_H
....@@ -33,9 +25,6 @@
3325 * ocfs2_blockcheck_stats_debugfs_install()
3426 */
3527 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 */
3928 };
4029
4130
....@@ -64,8 +53,8 @@
6453 struct ocfs2_blockcheck_stats *stats);
6554
6655 /* 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);
6958 void ocfs2_blockcheck_stats_debugfs_remove(struct ocfs2_blockcheck_stats *stats);
7059
7160 /*