diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-15 14:13:48 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:44 -0500 |
commit | d296e7b18521d60e3c428945c19a66ecf012c002 (patch) | |
tree | 09de01a31624a56caa6fab1e1b23c9da6be07ad1 /include/clocksource | |
parent | c558c577cbea95d8a8efc161cad93bab344a61d0 (diff) | |
download | linux-d296e7b18521d60e3c428945c19a66ecf012c002.tar.gz linux-d296e7b18521d60e3c428945c19a66ecf012c002.tar.bz2 linux-d296e7b18521d60e3c428945c19a66ecf012c002.zip |
bcachefs: Fix reattach_inode() for snapshots
reattach_inode() was broken w.r.t. snapshots - we'd lookup the subvolume
to look up lost+found, but if we're in an interior node snapshot that
didn't make any sense.
Instead, this adds a dirent path for creating in a specific snapshot,
skipping the subvolume; and we also make sure to create lost+found in
the root snapshot, to avoid conflicts with lost+found being created in
overlapping snapshots.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include/clocksource')
0 files changed, 0 insertions, 0 deletions