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.c | |
| 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.c')
| -rw-r--r-- | fs/bcachefs/snapshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/snapshot.c b/fs/bcachefs/snapshot.c index ede0b480e7d4..e7f197896db1 100644 --- a/fs/bcachefs/snapshot.c +++ b/fs/bcachefs/snapshot.c @@ -390,7 +390,7 @@ static u32 bch2_snapshot_tree_next(struct bch_fs *c, u32 id) return 0; } -static u32 bch2_snapshot_tree_oldest_subvol(struct bch_fs *c, u32 snapshot_root) +u32 bch2_snapshot_tree_oldest_subvol(struct bch_fs *c, u32 snapshot_root) { u32 id = snapshot_root; u32 subvol = 0, s; |
