aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2017-11-29 10:53:43 +0000
committerDavid Sterba <[email protected]>2018-01-22 15:08:14 +0000
commit38b5f68e98117daa221c7df813608f48c374aef4 (patch)
treecaeb7034684a836cae7d340d89335e417c1f739e /fs/btrfs/dev-replace.c
parentbtrfs: make function update_share_count static (diff)
downloadkernel-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