diff options
author | 2025-02-13 12:43:42 -0500 | |
---|---|---|
committer | 2025-02-19 13:52:27 -0500 | |
commit | b9ddb3e1a8aa86c61c4a93e27cf66414f5fa7b6e (patch) | |
tree | a57b60042b8125ba45da7bf66ffa60e3ff5d4c12 /net/lapb/lapb_in.c | |
parent | bcachefs: Reuse transaction (diff) | |
download | wireguard-linux-b9ddb3e1a8aa86c61c4a93e27cf66414f5fa7b6e.tar.xz wireguard-linux-b9ddb3e1a8aa86c61c4a93e27cf66414f5fa7b6e.zip |
bcachefs: Fix fsck directory i_size checking
Error handling was wrong, causing unhandled transaction restart errors.
check_directory_size() was also inefficient, since keys in multiple
snapshots would be iterated over once for every snapshot. Convert it to
the same scheme used for i_sectors and subdir count checking.
Cc: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions