]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: convert to generic_file_llseek wip-jlayton-integ
authorJeff Layton <jlayton@kernel.org>
Tue, 7 Jun 2022 00:07:42 +0000 (20:07 -0400)
committerJeff Layton <jlayton@kernel.org>
Tue, 7 Jun 2022 12:53:13 +0000 (08:53 -0400)
commit601157094a059f299f8395e0feddcc6de96cd5df
tree054965d7462cd09b69ef13ba2cb2f14bac3c799e
parentf08152fdbace38d671f89549e7e2d6a3b911061b
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 mostly equivalent to generic_file_llseek,
so just call that after getting the size.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
fs/ceph/file.c