Commit 36a2fdf7 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Repair code for directory i_size



We had a bug due due to an incomplete revert of the patch implementing
directory i_size (summing up the size of the dirents), leading to
completely screwy i_size values that underflow.

Most userspace programs don't seem to care (e.g. du ignores it), but it
turns out this broke sshfs, so needs to be repaired.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 95fafc0f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment