diff options
| author | Qu Wenruo <[email protected]> | 2018-01-31 06:16:34 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-03-26 13:09:37 +0000 |
| commit | 793ff2c88c6397b3531c08cc4f920619b56a9def (patch) | |
| tree | 1859bcfe0b38445982bad48e8563c1ec5650789b /fs/btrfs/inode.c | |
| parent | btrfs: Streamline btrfs_delalloc_reserve_metadata initial operations (diff) | |
| download | kernel-793ff2c88c6397b3531c08cc4f920619b56a9def.tar.gz kernel-793ff2c88c6397b3531c08cc4f920619b56a9def.zip | |
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 <[email protected]>
Reviewed-by: Nikolay Borisov <[email protected]>
Reviewed-by: Gu Jinxiang <[email protected]>
[ reformat comment ]
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions
