diff options
| author | Kent Overstreet <[email protected]> | 2025-02-13 17:43:42 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2025-02-19 18:52:27 +0000 |
| commit | b9ddb3e1a8aa86c61c4a93e27cf66414f5fa7b6e (patch) | |
| tree | a57b60042b8125ba45da7bf66ffa60e3ff5d4c12 /arch/powerpc/lib/code-patching.c | |
| parent | bcachefs: Reuse transaction (diff) | |
| download | kernel-b9ddb3e1a8aa86c61c4a93e27cf66414f5fa7b6e.tar.gz kernel-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 <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
