[lustre-devel] [PATCH 469/622] lustre: llite: remove ft_mtime field
James Simmons
jsimmons at infradead.org
Thu Feb 27 13:15:37 PST 2020
From: Mr NeilBrown <neilb at suse.com>
This field is set but never accessed, so remove it.
WC-bug-id: https://jira.whamcloud.com/browse/LU-6142
Lustre-commit: b674c418fa04 ("LU-6142 llite: remove ft_mtime field")
Signed-off-by: Mr NeilBrown <neilb at suse.com>
Reviewed-on: https://review.whamcloud.com/35887
Reviewed-by: Andreas Dilger <adilger at whamcloud.com>
Reviewed-by: James Simmons <jsimmons at infradead.org>
Reviewed-by: Patrick Farrell <pfarrell at whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.super at gmail.com>
Signed-off-by: James Simmons <jsimmons at infradead.org>
---
fs/lustre/llite/vvp_internal.h | 5 -----
fs/lustre/llite/vvp_io.c | 1 -
2 files changed, 6 deletions(-)
diff --git a/fs/lustre/llite/vvp_internal.h b/fs/lustre/llite/vvp_internal.h
index 7a463cb..1cc152f 100644
--- a/fs/lustre/llite/vvp_internal.h
+++ b/fs/lustre/llite/vvp_internal.h
@@ -66,11 +66,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/fs/lustre/llite/vvp_io.c b/fs/lustre/llite/vvp_io.c
index e676e62..d0d8b1f 100644
--- a/fs/lustre/llite/vvp_io.c
+++ b/fs/lustre/llite/vvp_io.c
@@ -271,7 +271,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
More information about the lustre-devel
mailing list