diff options
author | 2021-07-04 20:04:57 +0800 | |
---|---|---|
committer | 2021-08-23 13:18:59 +0200 | |
commit | 23608d51a3b2a0e1e884eba7b1d1eadefe4aadcc (patch) | |
tree | f9e40fe6fa065566c5c6c8064bca366427f241ce /fs/btrfs/compression.c | |
parent | btrfs: remove max argument from generic_bin_search (diff) | |
download | linux-dev-23608d51a3b2a0e1e884eba7b1d1eadefe4aadcc.tar.xz linux-dev-23608d51a3b2a0e1e884eba7b1d1eadefe4aadcc.zip |
btrfs: cleanup fs_devices pointer usage in btrfs_trim_fs
Drop variable 'devices' (used only once) and add new variable for
the fs_devices, so it is used at two locations within btrfs_trim_fs()
function and also helps to access fs_devices->devices.
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/compression.c')
0 files changed, 0 insertions, 0 deletions