Anand Jain 1b465784dc btrfs: change wait_dev_flush() return type to bool
The flush error code is maintained in btrfs_device::last_flush_error, so
there is no point in returning it in wait_dev_flush() when it is not being
used. Instead, we can return a boolean value.

Note that even though btrfs_device::last_flush_error may not be used, we
will keep it for now.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2023-04-17 18:01:20 +02:00
..
2023-01-19 09:24:28 +01:00
2023-01-19 09:24:27 +01:00
2023-02-20 12:54:27 -08:00
2023-04-17 18:01:15 +02:00
2023-04-17 18:01:15 +02:00
2023-04-02 10:57:12 -07:00
2023-02-02 16:26:06 -08:00
2023-04-17 18:01:15 +02:00
2023-01-19 09:24:28 +01:00