diff options
author | 2024-01-25 12:36:37 -0500 | |
---|---|---|
committer | 2024-03-10 15:34:09 -0400 | |
commit | 737cd174d1666620f2c41a4552623125de6bd80d (patch) | |
tree | 67acfaf39ef3631895650cd8ec8b24eb8fb3ae4c /mm | |
parent | bcachefs: bch2_inode_insert() (diff) | |
download | linux-737cd174d1666620f2c41a4552623125de6bd80d.tar.gz linux-737cd174d1666620f2c41a4552623125de6bd80d.tar.bz2 linux-737cd174d1666620f2c41a4552623125de6bd80d.zip |
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions