commit | 38b5f68e98117daa221c7df813608f48c374aef4 | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Wed Nov 29 18:53:43 2017 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Jan 22 16:08:14 2018 +0100 |
tree | caeb7034684a836cae7d340d89335e417c1f739e | |
parent | ccc8dc758da0deeddaec2d8a37524401654e99de [diff] |
btrfs: drop btrfs_device::can_discard to query directly We can query the bdev directly when needed at btrfs_discard_extent() so drop btrfs_device::can_discard. Signed-off-by: Anand Jain <anand.jain@oracle.com> Suggested-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>