summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2026-10-15 18:45:45 +0100
committerDavid Sterba <dsterba@suse.com>2026-10-30 23:14:49 +0100
commit387d5be169e6644a41dd5865e6a01c9489e996e2 (patch)
treeeb745e6fbc08e3ac02b45396612184e36dfee1fa /tools/lib/python
parent980fbbd041ac2538fdbe7cfda4253dfc28fdcad1 (diff)
btrfs: scrub: fix lost error return value when scrubbing raid56 parity stripe
If we find errors we are returning the value of 'ret', which has a value of 0 from some previous function call that succeeded, instead of returning an -EIO error. Fix this by returning -EIO instead of 'ret'. Fixes: fab0c0f03cfd ("btrfs: introduce BTRFS_PATH_AUTO_RELEASE() helper") Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions