commit | 522f1b45e41d893e4d1debd7f80c1e25e060c137 | [log] [tgz] |
---|---|---|
author | Anand Jain <Anand.Jain@oracle.com> | Thu Jan 18 22:00:35 2018 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Jan 22 20:25:48 2018 +0100 |
tree | 1a39dffd709f946d5f2b6c2d197c37888f39357d | |
parent | 38cf665d338fca33af4b16f9ec7cad6637fc0fec [diff] |
btrfs: make btrfs_free_stale_devices() argument optional This updates btrfs_free_stale_devices() helper function to delete all unmouted devices, when arg is NULL. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>