On Mon, Sep 03, 2018 at 12:46:11PM +0300, Nikolay Borisov wrote:
> Currently btrfs_find_device_by_path, btrfs_find_device_missing_or_by_path and
> btrfs_find_device_by_devspec are called in a chain and they all return an
> integer value to signal error and at the same time use one of their
Currently btrfs_find_device_by_path, btrfs_find_device_missing_or_by_path and
btrfs_find_device_by_devspec are called in a chain and they all return an
integer value to signal error and at the same time use one of their parameters
as an output. This patch set refactors those functions starting