diff options
author | Nikolay Borisov <nborisov@suse.com> | 2020-09-01 17:39:57 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-10-07 12:13:18 +0200 |
commit | fc0716c2f6afed06a9306db3fb62cc1fcf389757 (patch) | |
tree | 01014eb6bbf44ebf1395d06c4adba2cbb22b4021 /fs/btrfs/xattr.c | |
parent | 7573df5547c00f067e4c0b2fd7cc99f3d3a2bda7 (diff) |
btrfs: re-arrange statements in setup_items_for_insert
Rearrange statements calculating the offset of the newly added items so
that the calculation has to be done only once. No functional change.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/xattr.c')
0 files changed, 0 insertions, 0 deletions