diff options
| author | Anand Jain <[email protected]> | 2017-11-29 10:53:43 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-01-22 15:08:14 +0000 |
| commit | 38b5f68e98117daa221c7df813608f48c374aef4 (patch) | |
| tree | caeb7034684a836cae7d340d89335e417c1f739e /fs/btrfs/dev-replace.c | |
| parent | btrfs: make function update_share_count static (diff) | |
| download | kernel-38b5f68e98117daa221c7df813608f48c374aef4.tar.gz kernel-38b5f68e98117daa221c7df813608f48c374aef4.zip | |
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 <[email protected]>
Suggested-by: Nikolay Borisov <[email protected]>
Reviewed-by: Nikolay Borisov <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
