git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73104b6
)
fuse: llseek optimize SEEK_CUR and SEEK_SET
author
Miklos Szeredi
<mszeredi@suse.cz>
Tue, 13 Dec 2011 10:58:48 +0000
(11:58 +0100)
committer
Miklos Szeredi
<mszeredi@suse.cz>
Tue, 13 Dec 2011 10:58:48 +0000
(11:58 +0100)
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>
No differences found