diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-10-21 15:48:05 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2021-10-21 15:55:19 -0400 |
commit | 6a86f5246fbac24df5919b847fedadd43b2c2c4c (patch) | |
tree | a500c4fd51b4ce93723c3698590648b6a2e4b81f /fs/bad_inode.c | |
parent | 6a84a5a9bb42cad077e9b65dda9d20c4f50a4acd (diff) |
bcachefs: Fix fsck path for refink pointersreflink_fix
The way __bch2_mark_reflink_p returns errors was clashing with returning
the number of sectors processed - we weren't returning FSCK_ERR_EXIT
correctly.
Fix this by only using the return code for errors, which actually ends
up simplifying the overall logic.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bad_inode.c')
0 files changed, 0 insertions, 0 deletions