diff options
author | Jeff Layton <jlayton@kernel.org> | 2022-06-07 18:05:49 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2022-08-03 01:54:12 +0300 |
commit | e82145033547dac360bf20e960cf9adefc50b72d (patch) | |
tree | 87f7c9609d89fb042a65c09b81392c1c78b957d8 /fs/ceph/addr.c | |
parent | 1b7587d69ea7b8c350195392bfd30a0f31374ae4 (diff) | |
download | linux-e82145033547dac360bf20e960cf9adefc50b72d.tar.xz |
ceph: convert to generic_file_llseek
There's no reason we need to lock the inode for write in order to handle
an llseek. I suspect this should have been dropped in 2013 when we
stopped doing vmtruncate in llseek.
With that gone, ceph_llseek is functionally equivalent to
generic_file_llseek, so just call that after getting the size.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Luís Henriques <lhenriques@suse.de>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/addr.c')
0 files changed, 0 insertions, 0 deletions