]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
btrfs: let can_allocate_chunk return error
authorNaohiro Aota <naohiro.aota@wdc.com>
Fri, 8 Jul 2022 23:18:43 +0000 (08:18 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:42:26 +0000 (14:42 +0200)
commitf2d8ea40b5f7ecc89586efa288f6e3de3580e77c
tree33c17c8486fade304ca5fd57ffd9f8ba02c5aafe
parent6cb4b96df97082a54634ba02196516919cda228c
btrfs: let can_allocate_chunk return error

[ Upstream commit bb9950d3df7169a673c594d38fb74e241ed4fb2a ]

For the later patch, convert the return type from bool to int and return
errors. No functional changes.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/btrfs/extent-tree.c