diff options
author | 2019-09-27 13:23:17 +0300 | |
---|---|---|
committer | 2019-11-18 12:46:59 +0100 | |
commit | 2034f3b470ccfd4103737cf4d2a25a52ce9ad002 (patch) | |
tree | e9163a8945d34b559698e6c4aa136bf1e08e3998 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | btrfs: Speed up btrfs_file_llseek (diff) | |
download | wireguard-linux-2034f3b470ccfd4103737cf4d2a25a52ce9ad002.tar.xz wireguard-linux-2034f3b470ccfd4103737cf4d2a25a52ce9ad002.zip |
btrfs: Simplify btrfs_file_llseek
Handle SEEK_END/SEEK_CUR in a single 'default' case by directly
returning from generic_file_llseek. This makes the 'out' label
redundant. Finally return directly the vale from vfs_setpos. No
semantic changes.
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions