btrfs: assign proper values to a bool variable in dev_extent_hole_check_zoned
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Wed, 3 Mar 2021 09:45:28 +0000 (17:45 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Apr 2021 15:25:15 +0000 (17:25 +0200)
commit7000babddac651d6038200ee847d50a7f930a2cc
tree587bf93bfbc6a9141871076a77e40c86d9d641f8
parent2ce73c633573f1472dc6367668cab836a57f6a55
btrfs: assign proper values to a bool variable in dev_extent_hole_check_zoned

Fix the following coccicheck warnings:

./fs/btrfs/volumes.c:1462:10-11: WARNING: return of 0/1 in function
'dev_extent_hole_check_zoned' with return type bool.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c