diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-24 17:26:33 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-25 20:02:11 -0500 |
commit | d2fda304bb739b97c1a3e46e39700eb49f07a62c (patch) | |
tree | 640920ee27086f93fc094d8a3184480d247998f6 /scripts/gdb/linux/device.py | |
parent | 096386a5bcf02e4053dc8b6cacb09a8493eeee4f (diff) |
bcachefs: __lookup_dirent() works in snapshot, not subvol
Add a new helper, bch2_hash_lookup_in_snapshot(), for when we're not
operating in a subvolume and already have a snapshot ID, and then use it
in lookup_lostfound() -> __lookup_dirent().
This is a bugfix - lookup_lostfound() doesn't take a subvolume ID, we
were passing a nonsense subvolume ID before, and don't have one to pass
since we may be operating in an interior snapshot node that doesn't have
a subvolume ID.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions