Skip to content
Commit c07c3d19 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

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: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent 73104b6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment