commit | 02feae3c5525771878461b90edd2ba38fd3f5359 | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Sat Feb 13 10:01:40 2016 +0800 |
committer | David Sterba <dsterba@suse.com> | Thu Apr 28 10:59:13 2016 +0200 |
tree | b72d8b33eaec437da2906c021a841399550b656b | |
parent | 6b526ed70cf189660d009ea6f17af77a9cca0f38 [diff] |
btrfs: optimize check for stale device Optimize check for stale device to only be checked when there is device added or changed. If there is no update to the device, there is no need to call btrfs_free_stale_device(). Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>