commit | c07c3d193412bbf4e9f405e75dc84e35e77fac28 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Tue Dec 13 11:58:48 2011 +0100 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Tue Dec 13 11:58:48 2011 +0100 |
tree | 79991f1fed4184e7bea8fa98f7de4faf9853bb02 | |
parent | 73104b6e37f75f822e3dcf016147c322d1f6dad9 [diff] |
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>