commit | e124ece53edf3a80d594fa537d5c0a37b26f4eb7 | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Thu Jan 18 22:02:35 2018 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Jan 29 19:31:15 2018 +0100 |
tree | f025bc6e4a72d0fd6cbc58dcee0772c8a43dc721 | |
parent | f2788d2f76cafef160e959999624c6a87e71d26d [diff] |
btrfs: get device pointer from device_list_add() Instead of pointer to btrfs_fs_devices as an arg in device_list_add() better to get pointer to btrfs_device as return value, then we have both, pointer to btrfs_device and btrfs_fs_devices. btrfs_device is needed to handle reappearing missing device. Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>