diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2011-12-13 11:58:48 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2011-12-13 11:58:48 +0100 |
commit | c07c3d193412bbf4e9f405e75dc84e35e77fac28 (patch) | |
tree | 79991f1fed4184e7bea8fa98f7de4faf9853bb02 /fs/nfsd/nfs4callback.c | |
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>
Diffstat (limited to 'fs/nfsd/nfs4callback.c')
0 files changed, 0 insertions, 0 deletions