commit | f1b8a1e8c00a12000e5683f7312f2b1d877717ae | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Wed Jun 14 16:28:42 2017 +0200 |
committer | David Sterba <dsterba@suse.com> | Wed Aug 16 16:12:03 2017 +0200 |
tree | cb1711da516b5e38471e5157a8bdaf85fad93ff9 | |
parent | 74b595fe672a4c4a40fe87c727304e2df3485f13 [diff] |
btrfs: simplify btrfs_dev_replace_kthread This function prints an informative message and then continues dev-replace. The message contains a progress percentage which is read from the status. The status is allocated dynamically, about 2600 bytes, just to read the single value. That's an overkill. We'll use the new helper and drop the allocation. Signed-off-by: David Sterba <dsterba@suse.com>