summaryrefslogtreecommitdiff
path: root/fs/btrfs/tests
diff options
context:
space:
mode:
authorAnand Jain <Anand.Jain@oracle.com>2018-01-18 17:00:34 +0300
committerDavid Sterba <dsterba@suse.com>2018-01-22 22:25:47 +0300
commit38cf665d338fca33af4b16f9ec7cad6637fc0fec (patch)
tree7090eab239f1d9fc9c2f1ba0bf3743f961bb5a04 /fs/btrfs/tests
parenta848b3e547d167692483ff08622bb56dd3e4a9d6 (diff)
downloadlinux-38cf665d338fca33af4b16f9ec7cad6637fc0fec.tar.xz
btrfs: make btrfs_free_stale_device() to iterate all stales
Let the list iterator iterate further and find other stale devices and delete it. This is in preparation to add support for user land request-able stale devices cleanup. Also rename btrfs_free_stale_device() to btrfs_free_stale_devices(). Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tests')
0 files changed, 0 insertions, 0 deletions