summaryrefslogtreecommitdiff
path: root/fs/hfsplus
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-09-08 20:20:23 +0300
committerDavid Sterba <dsterba@suse.com>2023-09-20 21:42:33 +0300
commit1bf76df3fee56d6637718e267f7c34ed70d0c7dc (patch)
treeeffe37301ae6f7e895d459e6a74efefdd1e359bd /fs/hfsplus
parenta7ddeeb079505961355cf0106154da0110f1fdff (diff)
downloadlinux-1bf76df3fee56d6637718e267f7c34ed70d0c7dc.tar.xz
btrfs: return -EUCLEAN for delayed tree ref with a ref count not equals to 1
When running a delayed tree reference, if we find a ref count different from 1, we return -EIO. This isn't an IO error, as it indicates either a bug in the delayed refs code or a memory corruption, so change the error code from -EIO to -EUCLEAN. Also tag the branch as 'unlikely' as this is not expected to ever happen, and change the error message to print the tree block's bytenr without the parenthesis (and there was a missing space between the 'block' word and the opening parenthesis), for consistency as that's the style we used everywhere else. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/hfsplus')
0 files changed, 0 insertions, 0 deletions