Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
3a58dfbc
Commit
3a58dfbc
authored
Jan 20, 2024
by
Kent Overstreet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: counters.c -> sb-counters.c
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
12207f49
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
8 deletions
+7
-8
fs/bcachefs/Makefile
fs/bcachefs/Makefile
+1
-1
fs/bcachefs/sb-counters.c
fs/bcachefs/sb-counters.c
+1
-1
fs/bcachefs/sb-counters.h
fs/bcachefs/sb-counters.h
+3
-4
fs/bcachefs/super-io.c
fs/bcachefs/super-io.c
+1
-1
fs/bcachefs/super.c
fs/bcachefs/super.c
+1
-1
No files found.
fs/bcachefs/Makefile
View file @
3a58dfbc
...
...
@@ -27,7 +27,6 @@ bcachefs-y := \
checksum.o
\
clock.o
\
compress.o
\
counters.o
\
darray.o
\
debug.o
\
dirent.o
\
...
...
@@ -71,6 +70,7 @@ bcachefs-y := \
reflink.o
\
replicas.o
\
sb-clean.o
\
sb-counters.o
\
sb-downgrade.o
\
sb-errors.o
\
sb-members.o
\
...
...
fs/bcachefs/counters.c
→
fs/bcachefs/
sb-
counters.c
View file @
3a58dfbc
// SPDX-License-Identifier: GPL-2.0
#include "bcachefs.h"
#include "super-io.h"
#include "counters.h"
#include "
sb-
counters.h"
/* BCH_SB_FIELD_counters */
...
...
fs/bcachefs/counters.h
→
fs/bcachefs/
sb-
counters.h
View file @
3a58dfbc
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _BCACHEFS_COUNTERS_H
#define _BCACHEFS_COUNTERS_H
#ifndef _BCACHEFS_
SB_
COUNTERS_H
#define _BCACHEFS_
SB_
COUNTERS_H
#include "bcachefs.h"
#include "super-io.h"
int
bch2_sb_counters_to_cpu
(
struct
bch_fs
*
);
int
bch2_sb_counters_from_cpu
(
struct
bch_fs
*
);
...
...
@@ -14,4 +13,4 @@ int bch2_fs_counters_init(struct bch_fs *);
extern
const
struct
bch_sb_field_ops
bch_sb_field_ops_counters
;
#endif // _BCACHEFS_COUNTERS_H
#endif // _BCACHEFS_
SB_
COUNTERS_H
fs/bcachefs/super-io.c
View file @
3a58dfbc
...
...
@@ -2,7 +2,6 @@
#include "bcachefs.h"
#include "checksum.h"
#include "counters.h"
#include "disk_groups.h"
#include "ec.h"
#include "error.h"
...
...
@@ -13,6 +12,7 @@
#include "replicas.h"
#include "quota.h"
#include "sb-clean.h"
#include "sb-counters.h"
#include "sb-downgrade.h"
#include "sb-errors.h"
#include "sb-members.h"
...
...
fs/bcachefs/super.c
View file @
3a58dfbc
...
...
@@ -23,7 +23,6 @@
#include "checksum.h"
#include "clock.h"
#include "compress.h"
#include "counters.h"
#include "debug.h"
#include "disk_groups.h"
#include "ec.h"
...
...
@@ -49,6 +48,7 @@
#include "recovery.h"
#include "replicas.h"
#include "sb-clean.h"
#include "sb-counters.h"
#include "sb-errors.h"
#include "sb-members.h"
#include "snapshot.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment