commit | 737cd174d1666620f2c41a4552623125de6bd80d | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kent.overstreet@linux.dev> | Thu Jan 25 12:36:37 2024 -0500 |
committer | Kent Overstreet <kent.overstreet@linux.dev> | Sun Mar 10 15:34:09 2024 -0400 |
tree | 67acfaf39ef3631895650cd8ec8b24eb8fb3ae4c | |
parent | a91bc5e50558fdc09a04c90484633df100d0d2bb [diff] |
bcachefs: bch2_lookup() gives better error message on inode not found When a dirent points to a missing inode, we really should print out the dirent. This requires quite a bit of refactoring, but there's some other benefits: we now do the entire looup (dirent and inode) in a single btree transaction, and copy to the VFS inode with btree locks still held, like the create path. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>