diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-28 01:00:34 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-30 11:20:18 -0400 |
| commit | f1dc067bc10ac95550869dbe25dc4db1420f4f6a (patch) | |
| tree | 1ffe333a6b86956e4a37c0e7c8d471d1587f3e50 /fs/bcachefs/sb-errors.h | |
| parent | 66b7c51ceb9f08e7dfb6b25e811b5b791100eda8 (diff) | |
| download | linux-next-f1dc067bc10ac95550869dbe25dc4db1420f4f6a.tar.gz linux-next-f1dc067bc10ac95550869dbe25dc4db1420f4f6a.zip | |
bcachefs: sysfs/errors
Make the superblock error counters available in sysfs; the only other
way they can be seen is 'show-super', but we don't write the superblock
every time the error count gets incremented.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/sb-errors.h')
| -rw-r--r-- | fs/bcachefs/sb-errors.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/sb-errors.h b/fs/bcachefs/sb-errors.h index b2357b8e6107..e86267264692 100644 --- a/fs/bcachefs/sb-errors.h +++ b/fs/bcachefs/sb-errors.h @@ -7,6 +7,7 @@ extern const char * const bch2_sb_error_strs[]; void bch2_sb_error_id_to_text(struct printbuf *, enum bch_sb_error_id); +void bch2_fs_errors_to_text(struct printbuf *, struct bch_fs *); extern const struct bch_sb_field_ops bch_sb_field_ops_errors; |
