diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-31 11:58:11 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-06-10 07:17:09 -0400 |
| commit | 66c36452163871360f15dc4042dd00612e42cd66 (patch) | |
| tree | 8254f6a7ca492e810f5aa0be6bc456a6e7a80730 /include/net/aligned_data.h | |
| parent | deaead8247f3de0ae5e7c5dcea55343d4320bdc0 (diff) | |
bcachefs: Repair code for directory i_size
commit 36a2fdf7c5c1ccae6ca16cd14067567096cebe17 upstream.
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: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
