From: Christian Brauner Date: Fri, 30 Aug 2024 13:04:44 +0000 (+0200) Subject: ceph: remove unused f_version X-Git-Tag: v6.12-rc1~213^2^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=387b499b789ce60c195db510b53f54ea728e10e3;p=thirdparty%2Flinux.git ceph: remove unused f_version It's not used for ceph so don't bother with it at all. Link: https://lore.kernel.org/r/20240830-vfs-file-f_version-v1-3-6d3e4816aa7b@kernel.org Reviewed-by: Jan Kara Reviewed-by: Jeff Layton Signed-off-by: Christian Brauner --- diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c index 18c72b305858d..ddec8c9244ee5 100644 --- a/fs/ceph/dir.c +++ b/fs/ceph/dir.c @@ -707,7 +707,6 @@ static loff_t ceph_dir_llseek(struct file *file, loff_t offset, int whence) if (offset != file->f_pos) { file->f_pos = offset; - file->f_version = 0; dfi->file_info.flags &= ~CEPH_F_ATEND; } retval = offset;