diff options
| author | Nikolay Borisov <nborisov@suse.com> | 2019-01-03 11:50:00 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2019-02-25 16:13:19 +0300 |
| commit | 62b37622718c87db3d992fe03b25f6f3b18264f1 (patch) | |
| tree | 6dbe0de9b3fd696fe79f028d96372235f8fc40bc /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 532425ff9e137af0cb98964475eccb72202bd514 (diff) | |
| download | linux-62b37622718c87db3d992fe03b25f6f3b18264f1.tar.xz | |
btrfs: Remove isize local variable in compress_file_range
It's used only once so just inline the call to i_size_read. The
semantics regarding the inode size are not changed, the pages in the
range are locked and i_size cannot change between the time it was set
and used.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
