From b674c418fa0469fdfe0c249c414c54d0cc839d6d Mon Sep 17 00:00:00 2001 From: Mr NeilBrown Date: Thu, 22 Aug 2019 15:36:09 +1000 Subject: [PATCH] LU-6142 llite: remove ft_mtime field This field is set but never accessed, so remove it. Test-Parameters: trivial Signed-off-by: Mr NeilBrown Change-Id: If6f96e90309235a61c833e262e50b03cf36132b0 Reviewed-on: https://review.whamcloud.com/35887 Tested-by: jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Patrick Farrell Reviewed-by: Arshad Hussain --- lustre/llite/vvp_internal.h | 5 ----- lustre/llite/vvp_io.c | 1 - 2 files changed, 6 deletions(-) diff --git a/lustre/llite/vvp_internal.h b/lustre/llite/vvp_internal.h index 128e5ac..c960269 100644 --- a/lustre/llite/vvp_internal.h +++ b/lustre/llite/vvp_internal.h @@ -71,11 +71,6 @@ struct vvp_io { union { struct vvp_fault_io { - /** - * Inode modification time that is checked across DLM - * lock request. - */ - time64_t ft_mtime; struct vm_area_struct *ft_vma; /** * locked page returned from vvp_io diff --git a/lustre/llite/vvp_io.c b/lustre/llite/vvp_io.c index ead8099..15fcc92 100644 --- a/lustre/llite/vvp_io.c +++ b/lustre/llite/vvp_io.c @@ -288,7 +288,6 @@ static int vvp_io_fault_iter_init(const struct lu_env *env, struct inode *inode = vvp_object_inode(ios->cis_obj); LASSERT(inode == file_inode(vio->vui_fd->fd_file)); - vio->u.fault.ft_mtime = inode->i_mtime.tv_sec; return 0; } -- 1.8.3.1