commit | 2034f3b470ccfd4103737cf4d2a25a52ce9ad002 | [log] [tgz] |
---|---|---|
author | Nikolay Borisov <nborisov@suse.com> | Fri Sep 27 13:23:17 2019 +0300 |
committer | David Sterba <dsterba@suse.com> | Mon Nov 18 12:46:59 2019 +0100 |
tree | e9163a8945d34b559698e6c4aa136bf1e08e3998 | |
parent | d79b7c26b12279038b8b84bfcbe7bb3e53382b3f [diff] |
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>