diff options
author | 2011-12-13 11:58:48 +0100 | |
---|---|---|
committer | 2011-12-13 11:58:48 +0100 | |
commit | c07c3d193412bbf4e9f405e75dc84e35e77fac28 (patch) | |
tree | 79991f1fed4184e7bea8fa98f7de4faf9853bb02 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fuse: llseek fix race (diff) | |
download | linux-dev-c07c3d193412bbf4e9f405e75dc84e35e77fac28.tar.xz linux-dev-c07c3d193412bbf4e9f405e75dc84e35e77fac28.zip |
fuse: llseek optimize SEEK_CUR and SEEK_SET
Use generic_file_llseek() instead of open coding the seek function.
i_mutex protection is only necessary for SEEK_END (and SEEK_HOLE, SEEK_DATA), so
move SEEK_CUR and SEEK_SET out from under i_mutex.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions