aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2024-01-24 22:26:33 +0000
committerKent Overstreet <[email protected]>2024-01-26 01:02:11 +0000
commitd2fda304bb739b97c1a3e46e39700eb49f07a62c (patch)
tree640920ee27086f93fc094d8a3184480d247998f6 /drivers/acpi/cppc_acpi.c
parentbcachefs: discard path uses unlock_long() (diff)
downloadkernel-d2fda304bb739b97c1a3e46e39700eb49f07a62c.tar.gz
kernel-d2fda304bb739b97c1a3e46e39700eb49f07a62c.zip
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 <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions