Skip to content
Commit c6930d7d authored by Anand Jain's avatar Anand Jain Committed by David Sterba
Browse files

btrfs: merge calls to alloc_fs_devices in device_list_add



Simplify has_metadata_uuid checks - by localizing the has_metadata_uuid
checked within alloc_fs_devices()'s second argument, it improves the
code readability.

Signed-off-by: default avatarAnand Jain <anand.jain@oracle.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 19c4c49c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment