summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2020-11-03 13:49:43 +0800
committerDavid Sterba <dsterba@suse.com>2020-12-08 15:54:08 +0100
commitb2598edf8b36f8b7c52e3f5f611c49cbd1c67b36 (patch)
tree5daca46166266e6f9c7d08a5d56fdda37d0eed4f /fs/btrfs/ctree.c
parent3a160a933111241376799244e3587747af574b89 (diff)
btrfs: remove unused argument seed from btrfs_find_device
Commit 343694eee8d8 ("btrfs: switch seed device to list api"), missed to check if the parameter seed is true in the function btrfs_find_device(). This tells it whether to traverse the seed device list or not. After this commit, the argument is unused and can be removed. In device_list_add() it's not necessary because fs_devices always points to the device's fs_devices. So with the devid+uuid matching, it will find the right device and return, thus not needing to traverse seed devices. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
0 files changed, 0 insertions, 0 deletions