https://github.com/torvalds/linux
Revision d2fda304bb739b97c1a3e46e39700eb49f07a62c authored by Kent Overstreet on 24 January 2024, 22:26:33 UTC, committed by Kent Overstreet on 26 January 2024, 01:02:11 UTC
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>
1 parent 096386a
History
Tip revision: d2fda304bb739b97c1a3e46e39700eb49f07a62c authored by Kent Overstreet on 24 January 2024, 22:26:33 UTC
bcachefs: __lookup_dirent() works in snapshot, not subvol
Tip revision: d2fda30
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
io_uring
ipc
kernel
lib
mm
net
rust
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 21.7 KB
.cocciconfig -rw-r--r-- 59 bytes
.editorconfig -rw-r--r-- 672 bytes
.get_maintainer.ignore -rw-r--r-- 151 bytes
.gitattributes -rw-r--r-- 105 bytes
.gitignore -rw-r--r-- 2.0 KB
.mailmap -rw-r--r-- 37.1 KB
.rustfmt.toml -rw-r--r-- 369 bytes
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 101.3 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 723.6 KB
Makefile -rw-r--r-- 65.9 KB
README -rw-r--r-- 727 bytes

README

back to top