Kent Overstreet d2fda304bb 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>
2024-01-25 20:02:11 -05:00
..
2024-01-01 11:47:07 -05:00
2024-01-21 06:01:45 -05:00
2024-01-21 06:01:45 -05:00
2024-01-01 11:47:44 -05:00
2024-01-21 06:01:45 -05:00
2024-01-01 11:46:52 -05:00
2024-01-21 13:27:10 -05:00
2024-01-05 23:24:21 -05:00
2024-01-21 13:27:11 -05:00
2024-01-21 06:01:45 -05:00
2024-01-05 23:24:19 -05:00
2023-12-19 19:01:52 -05:00
2024-01-01 11:47:44 -05:00
2024-01-21 13:27:11 -05:00
2024-01-21 14:01:12 -08:00
2024-01-10 16:34:17 -08:00
2024-01-21 13:27:10 -05:00
2024-01-21 13:27:11 -05:00
2024-01-21 13:27:10 -05:00
2024-01-21 06:01:45 -05:00
2024-01-01 11:47:07 -05:00
2024-01-01 11:47:07 -05:00
2024-01-21 13:27:10 -05:00
2024-01-21 06:01:45 -05:00
2024-01-21 13:27:11 -05:00
2024-01-21 06:01:45 -05:00
2024-01-21 06:01:45 -05:00
2024-01-01 11:47:07 -05:00
2024-01-01 11:47:40 -05:00
2024-01-21 13:27:10 -05:00
2024-01-21 13:27:10 -05:00
2024-01-10 16:34:17 -08:00
2024-01-21 14:01:12 -08:00
2024-01-05 23:24:21 -05:00
2024-01-21 14:01:12 -08:00
2024-01-21 13:27:10 -05:00