btrfs: return bool from lock_extent_buffer_for_io
authorChristoph Hellwig <hch@lst.de>
Wed, 3 May 2023 15:24:30 +0000 (17:24 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:27 +0000 (13:59 +0200)
commit9fdd160160f002ac2604c5b8f90598febad44ae7
treea3468d7089fefebcb24aedcb9d5d0e39390160d6
parent3d66b4b27d2b7f5e74071256acea38108f9dbeb5
btrfs: return bool from lock_extent_buffer_for_io

lock_extent_buffer_for_io never returns a negative error value, so switch
the return value to a simple bool.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
[ keep noinline_for_stack ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c