diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-02-07 01:33:01 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-14 21:02:12 -0400 |
| commit | 45f0e6c838e5d9af3f013adb4ba9aad3bcbcbe3b (patch) | |
| tree | 288639f1ee17f4ad68d805c2b91fc61be637c8c6 /fs/bcachefs/snapshot.h | |
| parent | bcachefs: Convert migrate to move_data_phys() (diff) | |
| download | linux-45f0e6c838e5d9af3f013adb4ba9aad3bcbcbe3b.tar.gz linux-45f0e6c838e5d9af3f013adb4ba9aad3bcbcbe3b.zip | |
bcachefs: bch2_indirect_extent_missing_error() prints path, not just inode number
We want all error messages converted to print paths, not just inode
numbers - users want this information, and it speeds up debugging too.
Auditing and converting all error messages is going to be a big project,
so for the moment we're just doing this incrementally.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/snapshot.h')
| -rw-r--r-- | fs/bcachefs/snapshot.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/snapshot.h b/fs/bcachefs/snapshot.h index 00373cf32e7b..81180181d7c9 100644 --- a/fs/bcachefs/snapshot.h +++ b/fs/bcachefs/snapshot.h @@ -105,6 +105,7 @@ static inline u32 bch2_snapshot_nth_parent(struct bch_fs *c, u32 id, u32 n) return id; } +u32 bch2_snapshot_tree_oldest_subvol(struct bch_fs *, u32); u32 bch2_snapshot_skiplist_get(struct bch_fs *, u32); static inline u32 bch2_snapshot_root(struct bch_fs *c, u32 id) |
