summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/sb-members.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-10-25 21:51:16 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2023-11-02 02:11:08 +0100
commitf5d26fa31ed2e260589f0bc8af010bb742f1231e (patch)
tree3d80b5c4ea7ac0a01bf1dba58a104d84d5a70e9b /fs/bcachefs/sb-members.c
parentbcachefs: Add IO error counts to bch_member (diff)
downloadlinux-f5d26fa31ed2e260589f0bc8af010bb742f1231e.tar.xz
linux-f5d26fa31ed2e260589f0bc8af010bb742f1231e.zip
bcachefs: bch_sb_field_errors
Add a new superblock section to keep counts of errors seen since filesystem creation: we'll be addingcounters for every distinct fsck error. The new superblock section has entries of the for [ id, count, time_of_last_error ]; this is intended to let us see what errors are occuring - and getting fixed - via show-super output. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/sb-members.c')
-rw-r--r--fs/bcachefs/sb-members.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/sb-members.c b/fs/bcachefs/sb-members.c
index 91566accc5a7..032fe45481d3 100644
--- a/fs/bcachefs/sb-members.c
+++ b/fs/bcachefs/sb-members.c
@@ -84,7 +84,7 @@ static int sb_members_v2_resize_entries(struct bch_fs *c)
return 0;
}
-int bch2_members_v2_init(struct bch_fs *c)
+int bch2_sb_members_v2_init(struct bch_fs *c)
{
struct bch_sb_field_members_v1 *mi1;
struct bch_sb_field_members_v2 *mi2;