commit | 793ff2c88c6397b3531c08cc4f920619b56a9def | [log] [tgz] |
---|---|---|
author | Qu Wenruo <wqu@suse.com> | Wed Jan 31 14:16:34 2018 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 26 15:09:37 2018 +0200 |
tree | 1859bcfe0b38445982bad48e8563c1ec5650789b | |
parent | da07d4ab33e6207f77615acc4c17a19a4793980d [diff] |
btrfs: volumes: Cleanup stripe size calculation Cleanup the following things: 1) open coded SZ_16M round up 2) use min() to replace open-coded size comparison 3) code style Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Gu Jinxiang <gujx@cn.fujitsu.com> [ reformat comment ] Signed-off-by: David Sterba <dsterba@suse.com>