File tree Expand file tree Collapse file tree 5 files changed +7
-8
lines changed Expand file tree Collapse file tree 5 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ bcachefs-y := \
27
27
checksum.o \
28
28
clock.o \
29
29
compress.o \
30
- counters.o \
31
30
darray.o \
32
31
debug.o \
33
32
dirent.o \
@@ -71,6 +70,7 @@ bcachefs-y := \
71
70
reflink.o \
72
71
replicas.o \
73
72
sb-clean.o \
73
+ sb-counters.o \
74
74
sb-downgrade.o \
75
75
sb-errors.o \
76
76
sb-members.o \
Original file line number Diff line number Diff line change 1
1
// SPDX-License-Identifier: GPL-2.0
2
2
#include "bcachefs.h"
3
3
#include "super-io.h"
4
- #include "counters.h"
4
+ #include "sb- counters.h"
5
5
6
6
/* BCH_SB_FIELD_counters */
7
7
Original file line number Diff line number Diff line change 1
1
/* SPDX-License-Identifier: GPL-2.0 */
2
- #ifndef _BCACHEFS_COUNTERS_H
3
- #define _BCACHEFS_COUNTERS_H
2
+ #ifndef _BCACHEFS_SB_COUNTERS_H
3
+ #define _BCACHEFS_SB_COUNTERS_H
4
4
5
5
#include "bcachefs.h"
6
6
#include "super-io.h"
7
7
8
-
9
8
int bch2_sb_counters_to_cpu (struct bch_fs * );
10
9
int bch2_sb_counters_from_cpu (struct bch_fs * );
11
10
@@ -14,4 +13,4 @@ int bch2_fs_counters_init(struct bch_fs *);
14
13
15
14
extern const struct bch_sb_field_ops bch_sb_field_ops_counters ;
16
15
17
- #endif // _BCACHEFS_COUNTERS_H
16
+ #endif // _BCACHEFS_SB_COUNTERS_H
Original file line number Diff line number Diff line change 2
2
3
3
#include "bcachefs.h"
4
4
#include "checksum.h"
5
- #include "counters.h"
6
5
#include "disk_groups.h"
7
6
#include "ec.h"
8
7
#include "error.h"
13
12
#include "replicas.h"
14
13
#include "quota.h"
15
14
#include "sb-clean.h"
15
+ #include "sb-counters.h"
16
16
#include "sb-downgrade.h"
17
17
#include "sb-errors.h"
18
18
#include "sb-members.h"
Original file line number Diff line number Diff line change 23
23
#include "checksum.h"
24
24
#include "clock.h"
25
25
#include "compress.h"
26
- #include "counters.h"
27
26
#include "debug.h"
28
27
#include "disk_groups.h"
29
28
#include "ec.h"
49
48
#include "recovery.h"
50
49
#include "replicas.h"
51
50
#include "sb-clean.h"
51
+ #include "sb-counters.h"
52
52
#include "sb-errors.h"
53
53
#include "sb-members.h"
54
54
#include "snapshot.h"
You can’t perform that action at this time.
0 commit comments